Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44",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.001598/0.001598, allocations: 199.5 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.085/1.085, allocations: 225.5 MB / 234.4 MB, free: 3.383 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008107/0.0008107, allocations: 93.09 kB / 286.3 MB, free: 5.262 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.14 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1778/0.3328, allocations: 69.38 MB / 452.7 MB, free: 76.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07591/0.4087, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2249/0.6336, allocations: 89.97 MB / 0.5917 GB, free: 13.12 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.6338, allocations: 69.91 kB / 0.5918 GB, free: 13.09 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.01658/0.6504, allocations: 6.571 MB / 0.5982 GB, free: 7.613 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.6505, allocations: 8 kB / 0.5982 GB, free: 7.605 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.6505, allocations: 15.81 kB / 0.5982 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003092/0.6508, allocations: 226.9 kB / 0.5985 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.6509, allocations: 0 / 0.5985 GB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.6509, allocations: 4 kB / 0.5985 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.705e-05/0.651, allocations: 15.62 kB / 0.5985 GB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.371e-05/0.651, allocations: 52.48 kB / 0.5985 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.6511, allocations: 0 / 0.5985 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.6511, allocations: 7.984 kB / 0.5985 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6511, allocations: 4 kB / 0.5985 GB, free: 7.262 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.6514, allocations: 271.6 kB / 0.5988 GB, free: 6.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.094e-05/0.6515, allocations: 54.12 kB / 0.5988 GB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.4e-05/0.6516, allocations: 19.8 kB / 0.5989 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.6516, allocations: 11.98 kB / 0.5989 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.261e-05/0.6517, allocations: 58.41 kB / 0.5989 GB, free: 6.836 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.477e-06/0.6517, allocations: 0 / 0.5989 GB, free: 6.836 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003637/0.652, allocations: 137.8 kB / 0.5991 GB, free: 6.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.6521, allocations: 55.34 kB / 0.5991 GB, free: 6.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.6522, allocations: 189 kB / 0.5993 GB, free: 6.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.6523, allocations: 25.7 kB / 0.5993 GB, free: 6.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.341e-05/0.6523, allocations: 96.12 kB / 0.5994 GB, free: 6.355 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.6523, allocations: 19.28 kB / 0.5994 GB, free: 6.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.6523, allocations: 0 / 0.5994 GB, free: 6.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.6524, allocations: 333.2 kB / 0.5997 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.326e-05/0.6525, allocations: 14.56 kB / 0.5998 GB, free: 6.004 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.045e-05/0.6525, allocations: 31.97 kB / 0.5998 GB, free: 5.969 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.6526, allocations: 23.23 kB / 0.5998 GB, free: 5.953 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.6526, allocations: 0 / 0.5998 GB, free: 5.953 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.6527, allocations: 95.16 kB / 0.5999 GB, free: 5.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.6527, allocations: 4 kB / 0.5999 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6527, allocations: 3.906 kB / 0.5999 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.6528, allocations: 4 kB / 0.5999 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.764e-05/0.6529, allocations: 15.98 kB / 0.5999 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.6529, allocations: 0 / 0.5999 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.6529, allocations: 4 kB / 0.5999 GB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.6529, allocations: 7.938 kB / 0.5999 GB, free: 5.832 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 5.733e-05/0.653, allocations: 112.9 kB / 0.6 GB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.384e-05/0.653, allocations: 15.81 kB / 0.6001 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.6532, allocations: 104.6 kB / 0.6002 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.6532, allocations: 0 / 0.6002 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6532, allocations: 192 / 0.6002 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6532, allocations: 0 / 0.6002 GB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.6536, allocations: 381.5 kB / 0.6005 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6536, allocations: 0 / 0.6005 GB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-05/0.6537, allocations: 20.02 kB / 0.6005 GB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.6537, allocations: 3.938 kB / 0.6006 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.6537, allocations: 0 / 0.6006 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.6537, allocations: 7.906 kB / 0.6006 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6537, allocations: 0 / 0.6006 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001615/0.6539, allocations: 197.5 kB / 0.6007 GB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002655/0.6541, allocations: 0.5853 MB / 0.6013 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.6542, allocations: 99.78 kB / 0.6014 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.6542, allocations: 3.938 kB / 0.6014 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.6543, allocations: 4 kB / 0.6014 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.6544, allocations: 7.984 kB / 0.6014 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.6544, allocations: 7.5 kB / 0.6014 GB, free: 4.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001107/0.6545, allocations: 150.5 kB / 0.6016 GB, free: 4.141 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008761/0.6554, allocations: 35.41 kB / 0.6016 GB, free: 4.109 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.0006151/0.656, allocations: 350.1 kB / 0.6019 GB, free: 3.848 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001147/0.6561, allocations: 50.56 kB / 0.602 GB, free: 3.812 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.6561, allocations: 0 / 0.602 GB, free: 3.812 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.85e-05/0.6562, allocations: 26.5 kB / 0.602 GB, free: 3.793 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.6564, allocations: 23.28 kB / 0.602 GB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003579/0.6568, allocations: 183.5 kB / 0.6022 GB, free: 3.578 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.6571, allocations: 0.7305 MB / 0.6029 GB, free: 2.824 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6571, allocations: 0 / 0.6029 GB, free: 2.824 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat does not exist to compare? outputFormat=mat