Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42",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.001073/0.001073, 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.148/1.148, 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.001029/0.001029, allocations: 94.27 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.49 MB / 352.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1885/0.3636, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.6301, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1165/0.7467, allocations: 86.88 MB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.747, allocations: 79.45 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.01506/0.762, allocations: 5.445 MB / 0.5557 GB, free: 6.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.7621, allocations: 8 kB / 0.5557 GB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.7621, allocations: 15.81 kB / 0.5558 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.7624, allocations: 213 kB / 0.556 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.7625, allocations: 0 / 0.556 GB, free: 6.207 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.7625, allocations: 4 kB / 0.556 GB, free: 6.203 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.262e-05/0.7626, allocations: 19.98 kB / 0.556 GB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.003e-05/0.7627, allocations: 49.59 kB / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.7627, allocations: 4 kB / 0.556 GB, free: 6.125 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.7627, allocations: 4 kB / 0.556 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7627, allocations: 3.938 kB / 0.556 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.7631, allocations: 273.3 kB / 0.5563 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.581e-05/0.7632, allocations: 46.69 kB / 0.5563 GB, free: 5.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.7632, allocations: 20.98 kB / 0.5564 GB, free: 5.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.7632, allocations: 4 kB / 0.5564 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.055e-05/0.7633, allocations: 59.41 kB / 0.5564 GB, free: 5.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.785e-06/0.7633, allocations: 0 / 0.5564 GB, free: 5.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004176/0.7638, allocations: 137.2 kB / 0.5566 GB, free: 5.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.7638, allocations: 51.41 kB / 0.5566 GB, free: 5.457 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.764, allocations: 182.3 kB / 0.5568 GB, free: 5.266 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.764, allocations: 33.64 kB / 0.5568 GB, free: 5.227 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.7641, allocations: 96.12 kB / 0.5569 GB, free: 5.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.7641, allocations: 23.66 kB / 0.5569 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.7641, allocations: 0 / 0.5569 GB, free: 5.105 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.7643, allocations: 322.8 kB / 0.5572 GB, free: 4.781 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.7643, allocations: 19.98 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.496e-05/0.7644, allocations: 33.66 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.639e-05/0.7645, allocations: 23.98 kB / 0.5573 GB, free: 4.699 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.7645, allocations: 0 / 0.5573 GB, free: 4.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001438/0.7646, allocations: 93.5 kB / 0.5574 GB, free: 4.602 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.7646, allocations: 6.812 kB / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.7647, allocations: 0 / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7647, allocations: 0 / 0.5574 GB, free: 4.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.7648, allocations: 23.92 kB / 0.5574 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.7648, allocations: 0 / 0.5574 GB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.7649, allocations: 4.188 kB / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.7649, allocations: 0 / 0.5574 GB, free: 4.57 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.917e-05/0.765, allocations: 109 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.765, allocations: 19.81 kB / 0.5575 GB, free: 4.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002318/0.7652, allocations: 103 kB / 0.5576 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.7652, allocations: 4 kB / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.7652, allocations: 288 / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.7653, allocations: 0 / 0.5577 GB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000402/0.7657, allocations: 371.8 kB / 0.558 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7657, allocations: 7.938 kB / 0.558 GB, free: 3.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.7657, allocations: 12.03 kB / 0.558 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7657, allocations: 0 / 0.558 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.7658, allocations: 7.906 kB / 0.558 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7658, allocations: 4.219 kB / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7658, allocations: 0 / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001838/0.766, allocations: 205.9 kB / 0.5582 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002802/0.7663, allocations: 0.5764 MB / 0.5588 GB, free: 3.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.124e-05/0.7663, allocations: 96.91 kB / 0.5589 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.7664, allocations: 4 kB / 0.5589 GB, free: 2.941 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.25e-05/0.7665, allocations: 3.984 kB / 0.5589 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.7665, allocations: 11.98 kB / 0.5589 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.7665, allocations: 7.938 kB / 0.5589 GB, free: 2.918 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001108/0.7666, allocations: 148.9 kB / 0.5591 GB, free: 2.773 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000823/0.7675, allocations: 35.92 kB / 0.5591 GB, free: 2.738 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.0006865/0.7682, allocations: 345.9 kB / 0.5594 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.7683, allocations: 48 kB / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7683, allocations: 0 / 0.5595 GB, free: 2.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.605e-05/0.7684, allocations: 35.91 kB / 0.5595 GB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002999/0.7687, allocations: 31.75 kB / 0.5595 GB, free: 2.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004049/0.7691, allocations: 164.7 kB / 0.5597 GB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.7694, allocations: 0.727 MB / 0.5604 GB, free: 1.379 MB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/0.7694, allocations: 0 / 0.5604 GB, free: 1.379 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)