Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38",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.001048/0.001048, allocations: 180.2 kB / 7.803 MB, free: 1.203 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.2 MB / 213.4 MB, free: 8.582 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008973/0.0008972, allocations: 91.09 kB / 261.4 MB, free: 5.105 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1668/0.1668, allocations: 43.5 MB / 352.9 MB, free: 11.35 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2099/0.3768, allocations: 64.96 MB / 417.8 MB, free: 68.09 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/0.4658, allocations: 58.85 MB / 476.7 MB, free: 9.18 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2723/0.7382, allocations: 86.71 MB / 0.5502 GB, free: 9.332 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.7385, allocations: 74.77 kB / 0.5502 GB, free: 9.293 MB / 370.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01412/0.7526, allocations: 5.222 MB / 0.5553 GB, free: 4.914 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.7527, allocations: 8 kB / 0.5554 GB, free: 4.906 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/0.7527, allocations: 7.906 kB / 0.5554 GB, free: 4.898 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.753, allocations: 214.2 kB / 0.5556 GB, free: 4.66 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.7531, allocations: 0 / 0.5556 GB, free: 4.66 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.7531, allocations: 4 kB / 0.5556 GB, free: 4.656 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.346e-05/0.7531, allocations: 11.62 kB / 0.5556 GB, free: 4.648 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.127e-05/0.7532, allocations: 55.78 kB / 0.5556 GB, free: 4.594 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.7532, allocations: 0 / 0.5556 GB, free: 4.594 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.7533, allocations: 0 / 0.5556 GB, free: 4.594 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.7533, allocations: 4 kB / 0.5556 GB, free: 4.59 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.7534, allocations: 163.8 kB / 0.5558 GB, free: 4.402 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.72e-05/0.7535, allocations: 41.5 kB / 0.5558 GB, free: 4.359 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.7536, allocations: 23.8 kB / 0.5559 GB, free: 4.34 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.7536, allocations: 0 / 0.5559 GB, free: 4.34 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001098/0.7537, allocations: 59.19 kB / 0.5559 GB, free: 4.277 MB / 370.8 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.7537, allocations: 0 / 0.5559 GB, free: 4.277 MB / 370.8 MB Notification: Performance of matching and sorting (n=5): time 0.0001774/0.7539, allocations: 76.73 kB / 0.556 GB, free: 4.203 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.754, allocations: 51.41 kB / 0.556 GB, free: 4.141 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.7541, allocations: 167.4 kB / 0.5562 GB, free: 3.992 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.7541, allocations: 25.7 kB / 0.5562 GB, free: 3.961 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.7542, allocations: 95.88 kB / 0.5563 GB, free: 3.867 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.757e-05/0.7542, allocations: 11.59 kB / 0.5563 GB, free: 3.859 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.7542, allocations: 0 / 0.5563 GB, free: 3.859 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.7543, allocations: 325.7 kB / 0.5566 GB, free: 3.535 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.919e-05/0.7544, allocations: 11.94 kB / 0.5566 GB, free: 3.527 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.7544, allocations: 32.83 kB / 0.5567 GB, free: 3.496 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.7544, allocations: 15.42 kB / 0.5567 GB, free: 3.484 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7545, allocations: 4 kB / 0.5567 GB, free: 3.48 MB / 370.8 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001179/0.7546, allocations: 76.09 kB / 0.5568 GB, free: 3.41 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.7546, allocations: 4.75 kB / 0.5568 GB, free: 3.406 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7546, allocations: 0 / 0.5568 GB, free: 3.406 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.7546, allocations: 4 kB / 0.5568 GB, free: 3.402 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.7547, allocations: 11.98 kB / 0.5568 GB, free: 3.391 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.7547, allocations: 0 / 0.5568 GB, free: 3.391 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.512e-05/0.7548, allocations: 7.906 kB / 0.5568 GB, free: 3.383 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.7548, allocations: 0 / 0.5568 GB, free: 3.383 MB / 370.8 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 (7): * Single equations (assignments): 7 * 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.737e-05/0.7549, allocations: 114.2 kB / 0.5569 GB, free: 3.27 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.7549, allocations: 15.75 kB / 0.5569 GB, free: 3.254 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.7551, allocations: 84.23 kB / 0.557 GB, free: 3.18 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.7551, allocations: 64 / 0.557 GB, free: 3.18 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.7551, allocations: 7.984 kB / 0.557 GB, free: 3.172 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7551, allocations: 0 / 0.557 GB, free: 3.172 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.7552, allocations: 160.8 kB / 0.5572 GB, free: 2.988 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7552, allocations: 0 / 0.5572 GB, free: 2.988 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.279e-05/0.7553, allocations: 11.89 kB / 0.5572 GB, free: 2.977 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.7553, allocations: 4 kB / 0.5572 GB, free: 2.973 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.7553, allocations: 4 kB / 0.5572 GB, free: 2.969 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7553, allocations: 0 / 0.5572 GB, free: 2.969 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7553, allocations: 0 / 0.5572 GB, free: 2.969 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001359/0.7554, allocations: 102.6 kB / 0.5573 GB, free: 2.863 MB / 370.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002369/0.7557, allocations: 479.4 kB / 0.5577 GB, free: 2.387 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.93e-05/0.7558, allocations: 100.3 kB / 0.5578 GB, free: 2.273 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/0.7558, allocations: 0 / 0.5578 GB, free: 2.273 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.583e-05/0.7558, allocations: 0 / 0.5578 GB, free: 2.273 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/0.7559, allocations: 7.984 kB / 0.5578 GB, free: 2.266 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.7559, allocations: 0 / 0.5578 GB, free: 2.266 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.000111/0.756, allocations: 136.1 kB / 0.558 GB, free: 2.152 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0008402/0.7569, allocations: 31.23 kB / 0.558 GB, free: 2.125 MB / 370.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006928/0.7576, allocations: 334.1 kB / 0.5583 GB, free: 1.844 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.7577, allocations: 33.06 kB / 0.5583 GB, free: 1.82 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.7577, allocations: 0 / 0.5583 GB, free: 1.82 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 4.69e-05/0.7578, allocations: 26.92 kB / 0.5584 GB, free: 1.801 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.758, allocations: 15.55 kB / 0.5584 GB, free: 1.789 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.7584, allocations: 136.6 kB / 0.5585 GB, free: 1.641 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002825/0.7587, allocations: 0.7308 MB / 0.5592 GB, free: 0.8867 MB / 370.8 MB Notification: Performance of SimCode: time 2.6e-07/0.7587, allocations: 0 / 0.5592 GB, free: 0.8867 MB / 370.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1)