Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",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.001011/0.001011, allocations: 196.2 kB / 8.533 MB, free: 484 kB / 6.77 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: 9.465 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008461/0.0008461, allocations: 95.73 kB / 286.3 MB, free: 5.812 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.16/0.16, allocations: 45.15 MB / 383.3 MB, free: 4.848 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1601/0.3202, allocations: 69.38 MB / 452.7 MB, free: 48.19 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.4035, allocations: 63.24 MB / 0.5039 GB, free: 0.8867 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.6423, allocations: 89.97 MB / 0.5917 GB, free: 13.71 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.6426, allocations: 71.97 kB / 0.5918 GB, free: 13.64 MB / 418.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.01745/0.66, allocations: 6.679 MB / 0.5983 GB, free: 6.926 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.6601, allocations: 8 kB / 0.5983 GB, free: 6.918 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.6601, allocations: 15.81 kB / 0.5983 GB, free: 6.902 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.6604, allocations: 219.6 kB / 0.5985 GB, free: 6.645 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.6605, allocations: 4 kB / 0.5986 GB, free: 6.641 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.6605, allocations: 3.984 kB / 0.5986 GB, free: 6.637 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.873e-05/0.6606, allocations: 16 kB / 0.5986 GB, free: 6.621 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.008e-05/0.6606, allocations: 53.67 kB / 0.5986 GB, free: 6.562 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6607, allocations: 3.906 kB / 0.5986 GB, free: 6.559 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.6607, allocations: 4 kB / 0.5986 GB, free: 6.555 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.6607, allocations: 0 / 0.5986 GB, free: 6.555 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.661, allocations: 277.5 kB / 0.5989 GB, free: 6.246 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001072/0.6611, allocations: 58.55 kB / 0.599 GB, free: 6.18 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.653e-05/0.6612, allocations: 20.97 kB / 0.599 GB, free: 6.156 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.6612, allocations: 4 kB / 0.599 GB, free: 6.152 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.105e-05/0.6613, allocations: 63.39 kB / 0.599 GB, free: 6.078 MB / 418.8 MB Notification: Performance of pre-optimization done (n=6): time 3.106e-06/0.6613, allocations: 0 / 0.599 GB, free: 6.078 MB / 418.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003727/0.6617, allocations: 141 kB / 0.5992 GB, free: 5.934 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.6617, allocations: 55.41 kB / 0.5992 GB, free: 5.867 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.6619, allocations: 209.3 kB / 0.5994 GB, free: 5.652 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.6619, allocations: 25.7 kB / 0.5994 GB, free: 5.621 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.411e-05/0.662, allocations: 100.1 kB / 0.5995 GB, free: 5.52 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.662, allocations: 19.64 kB / 0.5996 GB, free: 5.5 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.662, allocations: 4 kB / 0.5996 GB, free: 5.496 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.6621, allocations: 330.7 kB / 0.5999 GB, free: 5.164 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.382e-05/0.6622, allocations: 16 kB / 0.5999 GB, free: 5.148 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.416e-05/0.6622, allocations: 37.64 kB / 0.5999 GB, free: 5.105 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.181e-05/0.6623, allocations: 20 kB / 0.6 GB, free: 5.086 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6623, allocations: 0 / 0.6 GB, free: 5.086 MB / 418.8 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001507/0.6624, allocations: 105.4 kB / 0.6001 GB, free: 4.977 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.6624, allocations: 4 kB / 0.6001 GB, free: 4.973 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.6625, allocations: 0 / 0.6001 GB, free: 4.973 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.6625, allocations: 4 kB / 0.6001 GB, free: 4.969 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.922e-05/0.6626, allocations: 16.17 kB / 0.6001 GB, free: 4.953 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.6626, allocations: 160 / 0.6001 GB, free: 4.953 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.6626, allocations: 8 kB / 0.6001 GB, free: 4.945 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.6626, allocations: 4 kB / 0.6001 GB, free: 4.941 MB / 418.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 6.224e-05/0.6627, allocations: 114.9 kB / 0.6002 GB, free: 4.828 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.6627, allocations: 15.81 kB / 0.6002 GB, free: 4.812 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.6629, allocations: 111 kB / 0.6003 GB, free: 4.703 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.663, allocations: 0 / 0.6003 GB, free: 4.703 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.663, allocations: 7.906 kB / 0.6003 GB, free: 4.695 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.663, allocations: 0 / 0.6003 GB, free: 4.695 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003868/0.6634, allocations: 383.8 kB / 0.6007 GB, free: 4.273 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.6634, allocations: 0 / 0.6007 GB, free: 4.273 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.6634, allocations: 15.97 kB / 0.6007 GB, free: 4.258 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.6634, allocations: 0 / 0.6007 GB, free: 4.258 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.6635, allocations: 4 kB / 0.6007 GB, free: 4.254 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6635, allocations: 0 / 0.6007 GB, free: 4.254 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.6635, allocations: 0 / 0.6007 GB, free: 4.254 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001884/0.6637, allocations: 205.9 kB / 0.6009 GB, free: 4.027 MB / 418.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002927/0.664, allocations: 0.5884 MB / 0.6015 GB, free: 3.41 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.936e-05/0.664, allocations: 100.9 kB / 0.6016 GB, free: 3.293 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.6641, allocations: 3.938 kB / 0.6016 GB, free: 3.289 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.256e-05/0.6642, allocations: 4 kB / 0.6016 GB, free: 3.285 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.834e-05/0.6642, allocations: 7.984 kB / 0.6016 GB, free: 3.277 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.6642, allocations: 4 kB / 0.6016 GB, free: 3.273 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0001449/0.6644, allocations: 171.2 kB / 0.6018 GB, free: 3.105 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.0007978/0.6652, allocations: 32 kB / 0.6018 GB, free: 3.074 MB / 418.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.0006343/0.6658, allocations: 343.8 kB / 0.6021 GB, free: 2.816 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.6659, allocations: 55.92 kB / 0.6022 GB, free: 2.762 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6659, allocations: 0 / 0.6022 GB, free: 2.762 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 4.915e-05/0.666, allocations: 31.94 kB / 0.6022 GB, free: 2.73 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.6663, allocations: 27.27 kB / 0.6022 GB, free: 2.703 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.6667, allocations: 197 kB / 0.6024 GB, free: 2.48 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.667, allocations: 0.7309 MB / 0.6031 GB, free: 1.719 MB / 418.8 MB Notification: Performance of SimCode: time 2.41e-07/0.667, allocations: 0 / 0.6031 GB, free: 1.719 MB / 418.8 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat does not exist to compare? outputFormat=mat