Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001076/0.001076, allocations: 178.9 kB / 7.802 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.169/1.169, allocations: 205.2 MB / 213.4 MB, free: 8.531 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.0009662/0.0009662, allocations: 93.41 kB / 261.4 MB, free: 5.156 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.1725/0.1725, allocations: 43.49 MB / 352.8 MB, free: 11.44 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 0.21/0.3825, allocations: 64.98 MB / 417.8 MB, free: 68.13 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.4795, allocations: 58.84 MB / 476.7 MB, free: 9.227 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2697/0.7493, allocations: 86.9 MB / 0.5503 GB, free: 9.223 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.7495, allocations: 71.88 kB / 0.5504 GB, free: 9.188 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.01495/0.7645, allocations: 5.698 MB / 0.556 GB, free: 4.395 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.7645, allocations: 8 kB / 0.556 GB, free: 4.387 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.7646, allocations: 15.81 kB / 0.556 GB, free: 4.371 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.7649, allocations: 220.1 kB / 0.5562 GB, free: 4.125 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.7649, allocations: 4 kB / 0.5562 GB, free: 4.121 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.7649, allocations: 4.656 kB / 0.5562 GB, free: 4.117 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.554e-05/0.765, allocations: 23.42 kB / 0.5562 GB, free: 4.098 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.359e-05/0.7651, allocations: 51.86 kB / 0.5563 GB, free: 4.047 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.7651, allocations: 3.984 kB / 0.5563 GB, free: 4.043 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.7652, allocations: 4 kB / 0.5563 GB, free: 4.039 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.7652, allocations: 0 / 0.5563 GB, free: 4.039 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.7655, allocations: 286.8 kB / 0.5566 GB, free: 3.746 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.7656, allocations: 46.56 kB / 0.5566 GB, free: 3.699 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.7657, allocations: 31.17 kB / 0.5566 GB, free: 3.672 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.7657, allocations: 4 kB / 0.5567 GB, free: 3.668 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.719e-05/0.7658, allocations: 58.16 kB / 0.5567 GB, free: 3.605 MB / 370.8 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.7658, allocations: 0 / 0.5567 GB, free: 3.605 MB / 370.8 MB Notification: Performance of matching and sorting (n=8): time 0.0004103/0.7662, allocations: 141.9 kB / 0.5568 GB, free: 3.48 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.7663, allocations: 51.41 kB / 0.5569 GB, free: 3.418 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.7665, allocations: 238 kB / 0.5571 GB, free: 3.215 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.7665, allocations: 29.69 kB / 0.5571 GB, free: 3.18 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.7666, allocations: 96.02 kB / 0.5572 GB, free: 3.086 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.7666, allocations: 27.33 kB / 0.5573 GB, free: 3.062 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.7666, allocations: 0 / 0.5573 GB, free: 3.062 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.7667, allocations: 326.1 kB / 0.5576 GB, free: 2.742 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.7668, allocations: 15.25 kB / 0.5576 GB, free: 2.734 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.465e-05/0.7668, allocations: 36.2 kB / 0.5576 GB, free: 2.699 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.7669, allocations: 20.42 kB / 0.5576 GB, free: 2.688 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-07/0.7669, allocations: 0 / 0.5576 GB, free: 2.688 MB / 370.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001418/0.767, allocations: 98.31 kB / 0.5577 GB, free: 2.598 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.7671, allocations: 8 kB / 0.5577 GB, free: 2.59 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.7671, allocations: 0 / 0.5577 GB, free: 2.59 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.7671, allocations: 3.906 kB / 0.5577 GB, free: 2.586 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.433e-05/0.7672, allocations: 15.98 kB / 0.5578 GB, free: 2.57 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7672, allocations: 4 kB / 0.5578 GB, free: 2.566 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.7673, allocations: 0 / 0.5578 GB, free: 2.566 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.7673, allocations: 4 kB / 0.5578 GB, free: 2.562 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 (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.817e-05/0.7674, allocations: 113.6 kB / 0.5579 GB, free: 2.453 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.7674, allocations: 15.81 kB / 0.5579 GB, free: 2.438 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.7676, allocations: 108.4 kB / 0.558 GB, free: 2.34 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7676, allocations: 0 / 0.558 GB, free: 2.34 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7676, allocations: 4.094 kB / 0.558 GB, free: 2.336 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.7676, allocations: 0 / 0.558 GB, free: 2.336 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.7681, allocations: 395.7 kB / 0.5584 GB, free: 1.941 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.7681, allocations: 4.188 kB / 0.5584 GB, free: 1.938 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.7681, allocations: 16.02 kB / 0.5584 GB, free: 1.922 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.7681, allocations: 0 / 0.5584 GB, free: 1.922 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.7682, allocations: 7.938 kB / 0.5584 GB, free: 1.914 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.7682, allocations: 4.172 kB / 0.5584 GB, free: 1.91 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7682, allocations: 0 / 0.5584 GB, free: 1.91 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001949/0.7684, allocations: 208.2 kB / 0.5586 GB, free: 1.699 MB / 370.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002813/0.7687, allocations: 0.5818 MB / 0.5592 GB, free: 1.105 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-05/0.7687, allocations: 100.7 kB / 0.5593 GB, free: 0.9922 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.7688, allocations: 4 kB / 0.5593 GB, free: 0.9883 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.586e-05/0.7689, allocations: 0 / 0.5593 GB, free: 0.9883 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.7689, allocations: 15.92 kB / 0.5593 GB, free: 0.9727 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.7689, allocations: 7.938 kB / 0.5593 GB, free: 0.9688 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0001467/0.7691, allocations: 188 kB / 0.5595 GB, free: 0.8164 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0008262/0.7699, allocations: 42.59 kB / 0.5595 GB, free: 0.7812 MB / 370.8 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.0007668/0.7707, allocations: 355.6 kB / 0.5599 GB, free: 0.4922 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.7708, allocations: 57.55 kB / 0.5599 GB, free: 460 kB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.7708, allocations: 0 / 0.5599 GB, free: 460 kB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 5.216e-05/0.7709, allocations: 27 kB / 0.5599 GB, free: 440 kB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.7712, allocations: 22.91 kB / 0.56 GB, free: 424 kB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.7716, allocations: 217.5 kB / 0.5602 GB, free: 188 kB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.772, allocations: 0.7495 MB / 0.5609 GB, free: 15.41 MB / 386.8 MB Notification: Performance of SimCode: time 2.4e-07/0.772, allocations: 0 / 0.5609 GB, free: 15.41 MB / 386.8 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)