Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6",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.0009879/0.000988, allocations: 185.5 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.076/1.076, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008927/0.0008927, allocations: 86.91 kB / 261.4 MB, free: 13.55 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.1631/0.1631, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1653/0.3285, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.5525, allocations: 58.84 MB / 476.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.663, allocations: 86.89 MB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.6633, allocations: 67.97 kB / 0.5504 GB, free: 11.97 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.01577/0.6791, allocations: 5.74 MB / 0.556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6791, allocations: 8 kB / 0.556 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.6792, allocations: 15.81 kB / 0.556 GB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.6795, allocations: 231.6 kB / 0.5563 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.6796, allocations: 0 / 0.5563 GB, free: 5.895 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.6796, allocations: 4 kB / 0.5563 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.045e-05/0.6797, allocations: 23.98 kB / 0.5563 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.6798, allocations: 49.69 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.6798, allocations: 0 / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6798, allocations: 0 / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.6799, allocations: 0 / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.6803, allocations: 289.3 kB / 0.5566 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001137/0.6805, allocations: 50.69 kB / 0.5567 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.6805, allocations: 24.97 kB / 0.5567 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.6805, allocations: 0 / 0.5567 GB, free: 5.402 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.118e-05/0.6806, allocations: 67.28 kB / 0.5568 GB, free: 5.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.6806, allocations: 0 / 0.5568 GB, free: 5.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004309/0.6811, allocations: 145 kB / 0.5569 GB, free: 5.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.6811, allocations: 51.41 kB / 0.5569 GB, free: 5.113 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/0.6814, allocations: 243 kB / 0.5572 GB, free: 4.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.6814, allocations: 29.69 kB / 0.5572 GB, free: 4.836 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.6815, allocations: 100 kB / 0.5573 GB, free: 4.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.6815, allocations: 11.81 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.6815, allocations: 4 kB / 0.5573 GB, free: 4.719 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.6816, allocations: 330.7 kB / 0.5576 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.713e-05/0.6817, allocations: 19.98 kB / 0.5576 GB, free: 4.367 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-05/0.6817, allocations: 33.66 kB / 0.5577 GB, free: 4.328 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.6818, allocations: 27.98 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.6818, allocations: 0 / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000154/0.6819, allocations: 89.5 kB / 0.5578 GB, free: 4.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.682, allocations: 8 kB / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.682, allocations: 0 / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.682, allocations: 0 / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.794e-05/0.6821, allocations: 19.92 kB / 0.5578 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.6821, allocations: 4.156 kB / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.01e-05/0.6822, allocations: 0 / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.6822, allocations: 12.02 kB / 0.5578 GB, free: 4.164 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 7.282e-05/0.6823, allocations: 114.3 kB / 0.5579 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.6823, allocations: 11.81 kB / 0.5579 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002056/0.6825, allocations: 111 kB / 0.5581 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.6826, allocations: 0 / 0.5581 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6826, allocations: 0 / 0.5581 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6826, allocations: 0 / 0.5581 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004162/0.683, allocations: 411.9 kB / 0.5584 GB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.683, allocations: 4 kB / 0.5585 GB, free: 3.465 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.6831, allocations: 8 kB / 0.5585 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6831, allocations: 288 / 0.5585 GB, free: 3.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.6831, allocations: 4 kB / 0.5585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6831, allocations: 0 / 0.5585 GB, free: 3.453 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6831, allocations: 7.844 kB / 0.5585 GB, free: 3.445 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001823/0.6833, allocations: 209.9 kB / 0.5587 GB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002913/0.6836, allocations: 0.5802 MB / 0.5592 GB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.6837, allocations: 100.9 kB / 0.5593 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.6837, allocations: 4 kB / 0.5593 GB, free: 2.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.6838, allocations: 8 kB / 0.5593 GB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.6839, allocations: 7.922 kB / 0.5594 GB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.6839, allocations: 4 kB / 0.5594 GB, free: 2.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001679/0.684, allocations: 201.5 kB / 0.5595 GB, free: 2.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008336/0.6849, allocations: 39.84 kB / 0.5596 GB, free: 2.23 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.0007195/0.6856, allocations: 357.8 kB / 0.5599 GB, free: 1.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.6857, allocations: 51.97 kB / 0.56 GB, free: 1.863 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6858, allocations: 0 / 0.56 GB, free: 1.863 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.37e-05/0.6858, allocations: 31.94 kB / 0.56 GB, free: 1.832 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.6861, allocations: 23.84 kB / 0.56 GB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.6866, allocations: 228.9 kB / 0.5602 GB, free: 1.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.6869, allocations: 0.7496 MB / 0.561 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of SimCode: time 2.91e-07/0.6869, allocations: 4 kB / 0.561 GB, free: 0.7773 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)