Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",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.0009567/0.0009567, allocations: 195.9 kB / 8.537 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.075/1.075, allocations: 225.5 MB / 234.4 MB, free: 3.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000827/0.000827, allocations: 90.28 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1626/0.1626, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1738/0.3365, allocations: 69.37 MB / 452.7 MB, free: 76.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07608/0.4126, allocations: 63.25 MB / 0.5039 GB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.233/0.6456, allocations: 89.91 MB / 0.5917 GB, free: 12.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00017/0.6458, allocations: 76.58 kB / 0.5917 GB, free: 12.9 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.01632/0.6622, allocations: 6.523 MB / 0.5981 GB, free: 7.449 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.6622, allocations: 12 kB / 0.5981 GB, free: 7.438 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.6622, allocations: 11.81 kB / 0.5981 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.6625, allocations: 222.9 kB / 0.5984 GB, free: 7.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.6625, allocations: 8 kB / 0.5984 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.6626, allocations: 0 / 0.5984 GB, free: 7.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.427e-05/0.6626, allocations: 20.86 kB / 0.5984 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.246e-05/0.6627, allocations: 47.5 kB / 0.5984 GB, free: 7.105 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6627, allocations: 3.938 kB / 0.5984 GB, free: 7.102 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.6627, allocations: 3.984 kB / 0.5984 GB, free: 7.098 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.6628, allocations: 7.875 kB / 0.5984 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.6631, allocations: 277.5 kB / 0.5987 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.146e-05/0.6632, allocations: 46 kB / 0.5987 GB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.6632, allocations: 16.73 kB / 0.5988 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.6632, allocations: 7.75 kB / 0.5988 GB, free: 6.738 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.64e-05/0.6633, allocations: 69.77 kB / 0.5988 GB, free: 6.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.6633, allocations: 0 / 0.5988 GB, free: 6.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003594/0.6637, allocations: 141.6 kB / 0.599 GB, free: 6.535 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.6637, allocations: 51.41 kB / 0.599 GB, free: 6.473 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.6639, allocations: 195.9 kB / 0.5992 GB, free: 6.293 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.6639, allocations: 25.7 kB / 0.5992 GB, free: 6.262 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.011e-05/0.664, allocations: 91.88 kB / 0.5993 GB, free: 6.172 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.664, allocations: 23.16 kB / 0.5993 GB, free: 6.152 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.664, allocations: 0 / 0.5993 GB, free: 6.152 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.816e-05/0.6641, allocations: 326.2 kB / 0.5997 GB, free: 5.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.6641, allocations: 26.98 kB / 0.5997 GB, free: 5.812 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.065e-05/0.6642, allocations: 33.34 kB / 0.5997 GB, free: 5.781 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.947e-05/0.6642, allocations: 21.92 kB / 0.5997 GB, free: 5.766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6642, allocations: 0 / 0.5997 GB, free: 5.766 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001363/0.6644, allocations: 95.11 kB / 0.5998 GB, free: 5.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.6644, allocations: 4 kB / 0.5998 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.6644, allocations: 0 / 0.5998 GB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.6644, allocations: 3.984 kB / 0.5998 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.979e-05/0.6645, allocations: 31.02 kB / 0.5999 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.6645, allocations: 0 / 0.5999 GB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.6646, allocations: 4 kB / 0.5999 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.6646, allocations: 0 / 0.5999 GB, free: 5.641 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 6.827e-05/0.6647, allocations: 111.8 kB / 0.6 GB, free: 5.527 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.6647, allocations: 11.81 kB / 0.6 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001881/0.6649, allocations: 114.5 kB / 0.6001 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.6649, allocations: 0 / 0.6001 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.6649, allocations: 4.094 kB / 0.6001 GB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6649, allocations: 3.938 kB / 0.6001 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003699/0.6653, allocations: 384.7 kB / 0.6005 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6653, allocations: 0 / 0.6005 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.84e-05/0.6654, allocations: 8 kB / 0.6005 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.6654, allocations: 3.938 kB / 0.6005 GB, free: 5.012 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.6654, allocations: 4 kB / 0.6005 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6654, allocations: 0 / 0.6005 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6654, allocations: 4.031 kB / 0.6005 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001896/0.6656, allocations: 210.5 kB / 0.6007 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002963/0.6659, allocations: 0.5807 MB / 0.6013 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.666, allocations: 96.47 kB / 0.6013 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.666, allocations: 4 kB / 0.6013 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.099e-05/0.6661, allocations: 0 / 0.6013 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.6661, allocations: 7.984 kB / 0.6014 GB, free: 4.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.6661, allocations: 7.688 kB / 0.6014 GB, free: 4.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001224/0.6663, allocations: 154.8 kB / 0.6015 GB, free: 3.949 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008392/0.6671, allocations: 38.67 kB / 0.6015 GB, free: 3.914 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.00058/0.6677, allocations: 346.6 kB / 0.6019 GB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.6678, allocations: 51.17 kB / 0.6019 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.6678, allocations: 64 / 0.6019 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.774e-05/0.6679, allocations: 34.81 kB / 0.602 GB, free: 3.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.6681, allocations: 26.61 kB / 0.602 GB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.6685, allocations: 180 kB / 0.6022 GB, free: 3.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.6688, allocations: 0.7386 MB / 0.6029 GB, free: 2.613 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6688, allocations: 4.062 kB / 0.6029 GB, free: 2.609 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat does not exist to compare? outputFormat=mat