Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009918/0.0009919, allocations: 193 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.15/1.15, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008839/0.000884, allocations: 85.41 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1655/0.1655, allocations: 43.5 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1631/0.3286, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.5788, allocations: 58.84 MB / 476.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1161/0.695, allocations: 86.86 MB / 0.5503 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.6953, allocations: 75.47 kB / 0.5504 GB, free: 12.06 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0155/0.7108, allocations: 5.324 MB / 0.5556 GB, free: 6.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7109, allocations: 12 kB / 0.5556 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.7109, allocations: 11.81 kB / 0.5556 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.7112, allocations: 213 kB / 0.5558 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.7113, allocations: 0 / 0.5558 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.7113, allocations: 4 kB / 0.5558 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.486e-05/0.7114, allocations: 16 kB / 0.5558 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.956e-05/0.7115, allocations: 57.58 kB / 0.5559 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.7115, allocations: 3.938 kB / 0.5559 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.7115, allocations: 4 kB / 0.5559 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.7115, allocations: 3.938 kB / 0.5559 GB, free: 6.324 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.7119, allocations: 273.4 kB / 0.5562 GB, free: 6.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.712, allocations: 42.7 kB / 0.5562 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.326e-05/0.7121, allocations: 20.97 kB / 0.5562 GB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.7121, allocations: 4 kB / 0.5562 GB, free: 5.941 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.836e-05/0.7122, allocations: 63.34 kB / 0.5563 GB, free: 5.867 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.7122, allocations: 0 / 0.5563 GB, free: 5.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004087/0.7126, allocations: 125.3 kB / 0.5564 GB, free: 5.738 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.7127, allocations: 51.41 kB / 0.5564 GB, free: 5.676 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.7128, allocations: 190.3 kB / 0.5566 GB, free: 5.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.7129, allocations: 29.64 kB / 0.5567 GB, free: 5.441 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.7129, allocations: 92.14 kB / 0.5567 GB, free: 5.348 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.713, allocations: 27.64 kB / 0.5568 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.713, allocations: 0 / 0.5568 GB, free: 5.32 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.7131, allocations: 322.8 kB / 0.5571 GB, free: 4.996 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.814e-05/0.7131, allocations: 19.94 kB / 0.5571 GB, free: 4.977 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.738e-05/0.7132, allocations: 37.69 kB / 0.5571 GB, free: 4.934 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.7132, allocations: 16 kB / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.7132, allocations: 0 / 0.5571 GB, free: 4.918 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001489/0.7134, allocations: 101.5 kB / 0.5572 GB, free: 4.812 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7134, allocations: 6.812 kB / 0.5573 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.7134, allocations: 0 / 0.5573 GB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.7134, allocations: 7.984 kB / 0.5573 GB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.7136, allocations: 15.94 kB / 0.5573 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.7136, allocations: 0 / 0.5573 GB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.7136, allocations: 7.984 kB / 0.5573 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.7136, allocations: 0 / 0.5573 GB, free: 4.777 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.806e-05/0.7137, allocations: 109 kB / 0.5574 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.7137, allocations: 11.81 kB / 0.5574 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.7139, allocations: 107 kB / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.714, allocations: 4 kB / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.714, allocations: 288 / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.714, allocations: 192 / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.7144, allocations: 379.8 kB / 0.5579 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7144, allocations: 3.938 kB / 0.5579 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.358e-05/0.7145, allocations: 12.03 kB / 0.5579 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7145, allocations: 0 / 0.5579 GB, free: 4.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.7145, allocations: 7.906 kB / 0.5579 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7145, allocations: 0 / 0.5579 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7145, allocations: 0 / 0.5579 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002046/0.7147, allocations: 206.1 kB / 0.5581 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002949/0.7151, allocations: 0.5803 MB / 0.5587 GB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.7151, allocations: 96.91 kB / 0.5587 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.7152, allocations: 4 kB / 0.5587 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.7153, allocations: 4 kB / 0.5588 GB, free: 3.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.7153, allocations: 7.984 kB / 0.5588 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.7153, allocations: 7.938 kB / 0.5588 GB, free: 3.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001152/0.7154, allocations: 144.9 kB / 0.5589 GB, free: 2.988 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008399/0.7163, allocations: 35.94 kB / 0.5589 GB, free: 2.953 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007208/0.717, allocations: 349.9 kB / 0.5593 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.7171, allocations: 44 kB / 0.5593 GB, free: 2.605 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7172, allocations: 3.938 kB / 0.5593 GB, free: 2.602 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.352e-05/0.7172, allocations: 28 kB / 0.5593 GB, free: 2.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.7175, allocations: 31.73 kB / 0.5594 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.7179, allocations: 172.6 kB / 0.5595 GB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.7182, allocations: 0.7309 MB / 0.5603 GB, free: 1.586 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.7183, allocations: 0 / 0.5603 GB, free: 1.586 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)