Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test89,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89",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 trunk/package.mo): time 0.0009602/0.0009602, allocations: 202.3 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.091/1.091, allocations: 225.5 MB / 234.4 MB, free: 3.352 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007863/0.0007866, allocations: 94.5 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1549/0.1549, allocations: 45.13 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.178/0.3329, allocations: 69.38 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.4124, allocations: 63.24 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/0.6478, allocations: 90.24 MB / 0.592 GB, free: 12.79 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001795/0.648, allocations: 77.64 kB / 0.5921 GB, free: 12.75 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.02261/0.6707, allocations: 9.081 MB / 0.6009 GB, free: 5.504 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.6707, allocations: 8 kB / 0.6009 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.6707, allocations: 7.906 kB / 0.601 GB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.671, allocations: 217.3 kB / 0.6012 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.6711, allocations: 0 / 0.6012 GB, free: 5.242 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.6711, allocations: 4 kB / 0.6012 GB, free: 5.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.834e-05/0.6712, allocations: 15.42 kB / 0.6012 GB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.6713, allocations: 77.7 kB / 0.6013 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.6713, allocations: 0 / 0.6013 GB, free: 5.148 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.6713, allocations: 3.984 kB / 0.6013 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.6713, allocations: 0 / 0.6013 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.6716, allocations: 263.9 kB / 0.6015 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.121e-05/0.6717, allocations: 52.88 kB / 0.6016 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.6718, allocations: 19.84 kB / 0.6016 GB, free: 4.797 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.6718, allocations: 3.938 kB / 0.6016 GB, free: 4.793 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.597e-05/0.6719, allocations: 65.22 kB / 0.6016 GB, free: 4.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.6719, allocations: 0 / 0.6016 GB, free: 4.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003693/0.6723, allocations: 128.1 kB / 0.6018 GB, free: 4.613 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.6723, allocations: 81.11 kB / 0.6018 GB, free: 4.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.6725, allocations: 153.6 kB / 0.602 GB, free: 4.383 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.6725, allocations: 25.7 kB / 0.602 GB, free: 4.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.6725, allocations: 91.39 kB / 0.6021 GB, free: 4.262 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.6726, allocations: 26.83 kB / 0.6021 GB, free: 4.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.6726, allocations: 3.938 kB / 0.6021 GB, free: 4.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6727, allocations: 326.2 kB / 0.6024 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.6727, allocations: 19.69 kB / 0.6025 GB, free: 3.898 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.727e-05/0.6728, allocations: 42.06 kB / 0.6025 GB, free: 3.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.442e-05/0.6729, allocations: 22.73 kB / 0.6025 GB, free: 3.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6729, allocations: 0 / 0.6025 GB, free: 3.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001509/0.673, allocations: 86.34 kB / 0.6026 GB, free: 3.762 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.673, allocations: 8 kB / 0.6026 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.673, allocations: 3.984 kB / 0.6026 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.287e-06/0.6731, allocations: 0 / 0.6026 GB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.954e-05/0.6732, allocations: 15.69 kB / 0.6026 GB, free: 3.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.6732, allocations: 4 kB / 0.6026 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.547e-05/0.6732, allocations: 7.969 kB / 0.6026 GB, free: 3.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.6733, allocations: 7.984 kB / 0.6027 GB, free: 3.719 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.018e-05/0.6733, allocations: 110 kB / 0.6028 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.6734, allocations: 7.906 kB / 0.6028 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.6736, allocations: 99.2 kB / 0.6029 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6736, allocations: 4 kB / 0.6029 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6736, allocations: 3.984 kB / 0.6029 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6736, allocations: 0 / 0.6029 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/0.674, allocations: 376.1 kB / 0.6032 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.674, allocations: 0 / 0.6032 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.271e-05/0.674, allocations: 8 kB / 0.6032 GB, free: 3.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.674, allocations: 4 kB / 0.6032 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.6741, allocations: 0 / 0.6032 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.6741, allocations: 3.938 kB / 0.6032 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6741, allocations: 0 / 0.6032 GB, free: 3.105 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001912/0.6743, allocations: 212.1 kB / 0.6034 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003006/0.6746, allocations: 0.5743 MB / 0.604 GB, free: 2.309 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.6746, allocations: 96.38 kB / 0.6041 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.6747, allocations: 7.906 kB / 0.6041 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.6748, allocations: 0 / 0.6041 GB, free: 2.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.199e-05/0.6748, allocations: 7.984 kB / 0.6041 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.6748, allocations: 7.938 kB / 0.6041 GB, free: 2.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.778e-05/0.6749, allocations: 126.4 kB / 0.6042 GB, free: 2.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009355/0.6759, allocations: 70.05 kB / 0.6043 GB, free: 2.016 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.0008313/0.6767, allocations: 437.8 kB / 0.6047 GB, free: 1.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001251/0.6768, allocations: 55.73 kB / 0.6048 GB, free: 1.641 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.6768, allocations: 4 kB / 0.6048 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.161e-05/0.6769, allocations: 27.06 kB / 0.6048 GB, free: 1.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002525/0.6772, allocations: 27.48 kB / 0.6048 GB, free: 1.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003361/0.6775, allocations: 152.8 kB / 0.605 GB, free: 1.434 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.6778, allocations: 0.7231 MB / 0.6057 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6778, allocations: 0 / 0.6057 GB, free: 0.6836 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test89.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)