Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test34,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34",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.0009592/0.0009593, allocations: 185.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.129/1.129, 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.0008642/0.0008642, allocations: 87.48 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.1629/0.1629, allocations: 43.48 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1798/0.3427, allocations: 64.99 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.6073, allocations: 58.84 MB / 476.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.7231, allocations: 86.89 MB / 0.5503 GB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.7233, allocations: 75.47 kB / 0.5504 GB, free: 11.96 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.01451/0.7379, allocations: 5.375 MB / 0.5557 GB, free: 6.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.7379, allocations: 8 kB / 0.5557 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.738, allocations: 11.91 kB / 0.5557 GB, free: 6.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.7382, allocations: 221.6 kB / 0.5559 GB, free: 6.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.7383, allocations: 4 kB / 0.5559 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.7383, allocations: 0 / 0.5559 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.894e-05/0.7384, allocations: 16 kB / 0.5559 GB, free: 6.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.709e-05/0.7385, allocations: 53.67 kB / 0.556 GB, free: 6.191 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.7385, allocations: 3.906 kB / 0.556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.7385, allocations: 0 / 0.556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.7385, allocations: 0 / 0.556 GB, free: 6.188 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.7389, allocations: 265.5 kB / 0.5562 GB, free: 5.891 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.739, allocations: 54.53 kB / 0.5563 GB, free: 5.828 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.7391, allocations: 16.98 kB / 0.5563 GB, free: 5.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.7391, allocations: 4 kB / 0.5563 GB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.309e-05/0.7392, allocations: 71.36 kB / 0.5564 GB, free: 5.723 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.7392, allocations: 4 kB / 0.5564 GB, free: 5.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003994/0.7396, allocations: 133.2 kB / 0.5565 GB, free: 5.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.7396, allocations: 51.41 kB / 0.5565 GB, free: 5.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.7398, allocations: 166.3 kB / 0.5567 GB, free: 5.352 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.7398, allocations: 29.64 kB / 0.5567 GB, free: 5.316 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.7399, allocations: 92.12 kB / 0.5568 GB, free: 5.223 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.7399, allocations: 23.7 kB / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/0.7399, allocations: 0 / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.74, allocations: 330.8 kB / 0.5572 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.266e-05/0.7401, allocations: 16 kB / 0.5572 GB, free: 4.852 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.3e-05/0.7401, allocations: 29.72 kB / 0.5572 GB, free: 4.816 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.7402, allocations: 19.98 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7402, allocations: 3.906 kB / 0.5572 GB, free: 4.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001384/0.7403, allocations: 97.59 kB / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.7403, allocations: 4 kB / 0.5573 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.7403, allocations: 0 / 0.5573 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.7404, allocations: 4.031 kB / 0.5573 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.7405, allocations: 19.98 kB / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.7405, allocations: 0 / 0.5573 GB, free: 4.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.7405, allocations: 7.906 kB / 0.5574 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.7405, allocations: 0 / 0.5574 GB, free: 4.656 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.242e-05/0.7406, allocations: 110.3 kB / 0.5575 GB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.016e-05/0.7406, allocations: 7.906 kB / 0.5575 GB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.7409, allocations: 110 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7409, allocations: 4 kB / 0.5576 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.7409, allocations: 4 kB / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.7409, allocations: 0 / 0.5576 GB, free: 4.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.7413, allocations: 367.8 kB / 0.5579 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7413, allocations: 0 / 0.5579 GB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.7413, allocations: 12.12 kB / 0.5579 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.7413, allocations: 4 kB / 0.5579 GB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.7413, allocations: 4 kB / 0.5579 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.7414, allocations: 4.031 kB / 0.558 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7414, allocations: 0 / 0.558 GB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001758/0.7415, allocations: 206.1 kB / 0.5581 GB, free: 3.758 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002873/0.7418, allocations: 0.5804 MB / 0.5587 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.7419, allocations: 92.91 kB / 0.5588 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.742, allocations: 4 kB / 0.5588 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.742, allocations: 0 / 0.5588 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.7421, allocations: 11.98 kB / 0.5588 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.7421, allocations: 7.938 kB / 0.5588 GB, free: 3.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001103/0.7422, allocations: 140.1 kB / 0.559 GB, free: 2.879 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000886/0.7431, allocations: 39.94 kB / 0.559 GB, free: 2.84 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.0007276/0.7439, allocations: 346.3 kB / 0.5593 GB, free: 2.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.744, allocations: 63.86 kB / 0.5594 GB, free: 2.473 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7441, allocations: 4.062 kB / 0.5594 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.285e-05/0.7441, allocations: 27.94 kB / 0.5594 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.7444, allocations: 27.83 kB / 0.5594 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.7448, allocations: 148.6 kB / 0.5596 GB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/0.7451, allocations: 0.7349 MB / 0.5603 GB, free: 1.473 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7451, allocations: 0 / 0.5603 GB, free: 1.473 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test34.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)