Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53",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.001565/0.001565, allocations: 188.5 kB / 7.803 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.202/1.202, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.000878/0.000878, allocations: 109 kB / 261.4 MB, free: 13.56 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.1751/0.1751, allocations: 43.48 MB / 352.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1852/0.3604, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.6333, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1131/0.7464, allocations: 86.89 MB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.7467, 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.01502/0.7617, allocations: 5.57 MB / 0.5559 GB, free: 6.359 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7618, allocations: 8 kB / 0.5559 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.7618, allocations: 15.8 kB / 0.5559 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.7621, allocations: 218.7 kB / 0.5561 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.7621, allocations: 0 / 0.5561 GB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.7622, allocations: 7.984 kB / 0.5561 GB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.817e-05/0.7622, allocations: 16 kB / 0.5561 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.51e-05/0.7623, allocations: 57.67 kB / 0.5562 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.7624, allocations: 0 / 0.5562 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.7624, allocations: 4 kB / 0.5562 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.7624, allocations: 0 / 0.5562 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.7627, allocations: 273.4 kB / 0.5564 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.7629, allocations: 46.64 kB / 0.5565 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.7629, allocations: 24.97 kB / 0.5565 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.7629, allocations: 4 kB / 0.5565 GB, free: 5.602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.161e-05/0.763, allocations: 59.41 kB / 0.5566 GB, free: 5.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.763, allocations: 0 / 0.5566 GB, free: 5.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004152/0.7635, allocations: 137.1 kB / 0.5567 GB, free: 5.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.7635, allocations: 55.41 kB / 0.5567 GB, free: 5.324 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.7637, allocations: 201.9 kB / 0.5569 GB, free: 5.117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.7638, allocations: 29.7 kB / 0.557 GB, free: 5.082 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.7638, allocations: 99.97 kB / 0.5571 GB, free: 4.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.7638, allocations: 27.64 kB / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.7639, allocations: 0 / 0.5571 GB, free: 4.953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.764, allocations: 326.8 kB / 0.5574 GB, free: 4.625 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/0.764, allocations: 16 kB / 0.5574 GB, free: 4.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.7641, allocations: 33.7 kB / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.612e-05/0.7641, allocations: 23.98 kB / 0.5575 GB, free: 4.547 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7641, allocations: 4 kB / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001454/0.7643, allocations: 89.44 kB / 0.5576 GB, free: 4.449 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.7643, allocations: 8 kB / 0.5576 GB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.7643, allocations: 3.984 kB / 0.5576 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.7643, allocations: 0 / 0.5576 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.647e-05/0.7644, allocations: 16 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.7645, allocations: 4 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.7645, allocations: 0 / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.7645, allocations: 15.95 kB / 0.5576 GB, free: 4.402 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.783e-05/0.7646, allocations: 106.6 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.7646, allocations: 11.81 kB / 0.5577 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.7648, allocations: 106.9 kB / 0.5578 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7649, allocations: 7.906 kB / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7649, allocations: 0 / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7649, allocations: 0 / 0.5578 GB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003744/0.7652, allocations: 387.8 kB / 0.5582 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.7653, allocations: 0 / 0.5582 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.7653, allocations: 8 kB / 0.5582 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.7653, allocations: 0 / 0.5582 GB, free: 3.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.7653, allocations: 7.984 kB / 0.5582 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.7653, allocations: 0 / 0.5582 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7653, allocations: 192 / 0.5582 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001833/0.7655, allocations: 205.9 kB / 0.5584 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002973/0.7658, allocations: 0.5841 MB / 0.559 GB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.7659, allocations: 97 kB / 0.5591 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.021e-05/0.766, allocations: 4 kB / 0.5591 GB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.766, allocations: 11.89 kB / 0.5591 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.7661, allocations: 4 kB / 0.5591 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.7661, allocations: 4 kB / 0.5591 GB, free: 2.746 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001331/0.7662, allocations: 167.2 kB / 0.5592 GB, free: 2.582 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008225/0.7671, allocations: 31.94 kB / 0.5593 GB, free: 2.551 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.0006924/0.7678, allocations: 342.1 kB / 0.5596 GB, free: 2.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.7679, allocations: 59.92 kB / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7679, allocations: 0 / 0.5597 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.301e-05/0.768, allocations: 27.94 kB / 0.5597 GB, free: 2.168 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.7683, allocations: 24.03 kB / 0.5597 GB, free: 2.141 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.7687, allocations: 197 kB / 0.5599 GB, free: 1.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.769, allocations: 0.7308 MB / 0.5606 GB, free: 1.16 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.769, allocations: 0 / 0.5606 GB, free: 1.16 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1)