Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32",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.0009992/0.0009992, allocations: 198.6 kB / 8.539 MB, free: 1.805 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.094/1.094, allocations: 225.5 MB / 234.4 MB, free: 3.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008138/0.0008138, allocations: 91.39 kB / 286.3 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1546/0.1546, allocations: 45.14 MB / 383.3 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.18/0.3346, allocations: 69.38 MB / 452.7 MB, free: 76.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07682/0.4115, allocations: 63.24 MB / 0.5039 GB, free: 12.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.6362, allocations: 89.92 MB / 0.5917 GB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001667/0.6364, allocations: 73.05 kB / 0.5918 GB, free: 12.88 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.01597/0.6524, allocations: 6.405 MB / 0.598 GB, free: 7.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.6524, allocations: 8 kB / 0.598 GB, free: 7.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.6525, allocations: 15.81 kB / 0.598 GB, free: 7.527 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.6528, allocations: 207.2 kB / 0.5982 GB, free: 7.293 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.6528, allocations: 4 kB / 0.5982 GB, free: 7.289 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.6528, allocations: 7.531 kB / 0.5982 GB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.011e-05/0.6529, allocations: 23.42 kB / 0.5983 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/0.653, allocations: 53 kB / 0.5983 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.653, allocations: 0 / 0.5983 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.653, allocations: 0 / 0.5983 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.653, allocations: 0 / 0.5983 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.6533, allocations: 275 kB / 0.5986 GB, free: 6.926 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.6534, allocations: 54.19 kB / 0.5986 GB, free: 6.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.249e-05/0.6535, allocations: 20.23 kB / 0.5986 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.6535, allocations: 0 / 0.5986 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.71e-05/0.6536, allocations: 62.94 kB / 0.5987 GB, free: 6.789 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.6536, allocations: 0 / 0.5987 GB, free: 6.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003605/0.6539, allocations: 141.1 kB / 0.5988 GB, free: 6.668 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.654, allocations: 55.41 kB / 0.5989 GB, free: 6.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.6541, allocations: 186.6 kB / 0.5991 GB, free: 6.434 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.6542, allocations: 25.7 kB / 0.5991 GB, free: 6.402 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.6542, allocations: 91.69 kB / 0.5992 GB, free: 6.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.6542, allocations: 23.47 kB / 0.5992 GB, free: 6.293 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-06/0.6542, allocations: 3.938 kB / 0.5992 GB, free: 6.289 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.702e-05/0.6543, allocations: 325 kB / 0.5995 GB, free: 5.969 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.6544, allocations: 19.38 kB / 0.5995 GB, free: 5.957 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.138e-05/0.6544, allocations: 32.83 kB / 0.5996 GB, free: 5.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.6545, allocations: 30.78 kB / 0.5996 GB, free: 5.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.6545, allocations: 0 / 0.5996 GB, free: 5.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001406/0.6546, allocations: 92.12 kB / 0.5997 GB, free: 5.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.6546, allocations: 8 kB / 0.5997 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.6547, allocations: 0 / 0.5997 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.446e-06/0.6547, allocations: 0 / 0.5997 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.6548, allocations: 15.98 kB / 0.5997 GB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.6548, allocations: 4 kB / 0.5997 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.6548, allocations: 0 / 0.5997 GB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.6548, allocations: 8.031 kB / 0.5997 GB, free: 5.785 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.783e-05/0.6549, allocations: 112.8 kB / 0.5998 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.6549, allocations: 7.906 kB / 0.5998 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.6551, allocations: 104.4 kB / 0.5999 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6551, allocations: 0 / 0.5999 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.6552, allocations: 0 / 0.5999 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.6552, allocations: 3.938 kB / 0.5999 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003684/0.6555, allocations: 375.8 kB / 0.6003 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.6556, allocations: 0 / 0.6003 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/0.6556, allocations: 15.12 kB / 0.6003 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.6556, allocations: 4 kB / 0.6003 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.6556, allocations: 3.984 kB / 0.6003 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6556, allocations: 3.984 kB / 0.6003 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6556, allocations: 0 / 0.6003 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001763/0.6558, allocations: 206.9 kB / 0.6005 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002516/0.6561, allocations: 0.5767 MB / 0.6011 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/0.6561, allocations: 96.91 kB / 0.6012 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.6562, allocations: 7.812 kB / 0.6012 GB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.6563, allocations: 7.984 kB / 0.6012 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.775e-05/0.6563, allocations: 11.88 kB / 0.6012 GB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.6563, allocations: 3.906 kB / 0.6012 GB, free: 4.223 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.983e-05/0.6564, allocations: 143.1 kB / 0.6013 GB, free: 4.102 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000848/0.6573, allocations: 38.61 kB / 0.6014 GB, free: 4.07 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.0006024/0.6579, allocations: 338.1 kB / 0.6017 GB, free: 3.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001066/0.658, allocations: 50.5 kB / 0.6018 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.658, allocations: 0 / 0.6018 GB, free: 3.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.17e-05/0.6581, allocations: 39.16 kB / 0.6018 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.6583, allocations: 23.17 kB / 0.6018 GB, free: 3.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.6587, allocations: 158.9 kB / 0.602 GB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.6589, allocations: 0.7267 MB / 0.6027 GB, free: 2.809 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.659, allocations: 0 / 0.6027 GB, free: 2.809 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat