Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21",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.0009288/0.0009288, allocations: 198.8 kB / 8.539 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.09/1.09, allocations: 225.5 MB / 234.4 MB, free: 3.434 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008325/0.0008326, allocations: 93.67 kB / 286.3 MB, free: 5.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1543/0.1543, allocations: 45.13 MB / 383.3 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1734/0.3277, allocations: 69.39 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07679/0.4045, allocations: 63.24 MB / 0.5039 GB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2319/0.6365, allocations: 89.96 MB / 0.5917 GB, free: 12.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001679/0.6367, allocations: 66.72 kB / 0.5918 GB, free: 12.83 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.01641/0.6531, allocations: 6.494 MB / 0.5981 GB, free: 7.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.06e-05/0.6531, allocations: 12 kB / 0.5981 GB, free: 7.418 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.988e-05/0.6532, allocations: 11.81 kB / 0.5982 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.6535, allocations: 215.5 kB / 0.5984 GB, free: 7.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6535, allocations: 4 kB / 0.5984 GB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.6535, allocations: 7.906 kB / 0.5984 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.28e-05/0.6536, allocations: 18.86 kB / 0.5984 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.853e-05/0.6537, allocations: 48.56 kB / 0.5984 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.6537, allocations: 0 / 0.5984 GB, free: 7.094 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.6537, allocations: 3.984 kB / 0.5984 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6537, allocations: 4.75 kB / 0.5984 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.654, allocations: 273.8 kB / 0.5987 GB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.405e-05/0.6542, allocations: 57.31 kB / 0.5988 GB, free: 6.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.6542, allocations: 19.55 kB / 0.5988 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.6542, allocations: 0 / 0.5988 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.868e-05/0.6543, allocations: 58.22 kB / 0.5988 GB, free: 6.664 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.6543, allocations: 0 / 0.5988 GB, free: 6.664 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003575/0.6547, allocations: 145.6 kB / 0.599 GB, free: 6.535 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.6547, allocations: 55.34 kB / 0.599 GB, free: 6.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.6549, allocations: 184.1 kB / 0.5992 GB, free: 6.305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.6549, allocations: 29.7 kB / 0.5992 GB, free: 6.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.6549, allocations: 92.06 kB / 0.5993 GB, free: 6.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.655, allocations: 22.97 kB / 0.5993 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.655, allocations: 0 / 0.5993 GB, free: 6.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.6551, allocations: 321.4 kB / 0.5996 GB, free: 5.844 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.388e-05/0.6551, allocations: 23.19 kB / 0.5997 GB, free: 5.828 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.836e-05/0.6552, allocations: 32.95 kB / 0.5997 GB, free: 5.797 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.6552, allocations: 17.88 kB / 0.5997 GB, free: 5.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.6552, allocations: 0 / 0.5997 GB, free: 5.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001379/0.6554, allocations: 98.3 kB / 0.5998 GB, free: 5.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.737e-06/0.6554, allocations: 4 kB / 0.5998 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.6554, allocations: 0 / 0.5998 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.6554, allocations: 0 / 0.5998 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.929e-05/0.6555, allocations: 23.39 kB / 0.5998 GB, free: 5.672 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.6555, allocations: 8.141 kB / 0.5998 GB, free: 5.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.6556, allocations: 4 kB / 0.5998 GB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.6556, allocations: 192 / 0.5998 GB, free: 5.66 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.863e-05/0.6557, allocations: 112.8 kB / 0.6 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.6557, allocations: 7.906 kB / 0.6 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.6559, allocations: 108.3 kB / 0.6001 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6559, allocations: 8 kB / 0.6001 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.6559, allocations: 4 kB / 0.6001 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6559, allocations: 0 / 0.6001 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.6562, allocations: 369.5 kB / 0.6004 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6563, allocations: 0 / 0.6004 GB, free: 5.055 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.6563, allocations: 15.94 kB / 0.6004 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6563, allocations: 0 / 0.6004 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.6563, allocations: 0 / 0.6004 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.6563, allocations: 0 / 0.6004 GB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.6563, allocations: 4.281 kB / 0.6005 GB, free: 5.035 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001661/0.6565, allocations: 211.6 kB / 0.6007 GB, free: 4.82 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002741/0.6568, allocations: 0.5808 MB / 0.6012 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.025e-05/0.6569, allocations: 92.91 kB / 0.6013 GB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.6569, allocations: 7.25 kB / 0.6013 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.719e-05/0.657, allocations: 0 / 0.6013 GB, free: 4.117 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.657, allocations: 11.92 kB / 0.6013 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.657, allocations: 7.906 kB / 0.6013 GB, free: 4.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001003/0.6572, allocations: 140.7 kB / 0.6015 GB, free: 3.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008406/0.658, allocations: 31.44 kB / 0.6015 GB, free: 3.953 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.0005883/0.6586, allocations: 348.6 kB / 0.6018 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.6587, allocations: 52.86 kB / 0.6019 GB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6587, allocations: 4 kB / 0.6019 GB, free: 3.645 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.6588, allocations: 33.69 kB / 0.6019 GB, free: 3.621 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.659, allocations: 23.34 kB / 0.6019 GB, free: 3.602 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.6594, allocations: 152.6 kB / 0.6021 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002796/0.6597, allocations: 0.7297 MB / 0.6028 GB, free: 2.684 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.6597, allocations: 0 / 0.6028 GB, free: 2.684 MB / 394.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat does not exist to compare? outputFormat=mat