Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60",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.001161/0.001161, allocations: 202.9 kB / 8.538 MB, free: 1.793 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.1/1.1, allocations: 225.5 MB / 234.4 MB, free: 3.301 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008324/0.0008324, allocations: 92.39 kB / 286.3 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1566/0.1566, allocations: 45.14 MB / 383.3 MB, free: 488 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/0.3391, allocations: 69.38 MB / 452.7 MB, free: 76.05 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07608/0.4152, allocations: 63.23 MB / 0.5039 GB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2733/0.6885, allocations: 90.24 MB / 0.592 GB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/0.6888, allocations: 72.59 kB / 0.5921 GB, free: 12.47 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.03094/0.7197, allocations: 13.58 MB / 0.6053 GB, free: 1.762 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.7198, allocations: 8 kB / 0.6053 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.7198, allocations: 7.906 kB / 0.6053 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.7202, allocations: 216.5 kB / 0.6055 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.7202, allocations: 0 / 0.6055 GB, free: 1.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.7202, allocations: 4 kB / 0.6055 GB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.543e-05/0.7203, allocations: 19.05 kB / 0.6056 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.7204, allocations: 74.39 kB / 0.6056 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.7204, allocations: 0 / 0.6056 GB, free: 1.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.7204, allocations: 3.938 kB / 0.6056 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.7204, allocations: 0 / 0.6056 GB, free: 1.402 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.7208, allocations: 267 kB / 0.6059 GB, free: 1.125 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.264e-05/0.7209, allocations: 45.75 kB / 0.6059 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.7209, allocations: 27.8 kB / 0.606 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-06/0.721, allocations: 0 / 0.606 GB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.413e-05/0.7211, allocations: 62.83 kB / 0.606 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.7211, allocations: 0 / 0.606 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003878/0.7215, allocations: 138.4 kB / 0.6062 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.7215, allocations: 81.11 kB / 0.6062 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.7217, allocations: 146.5 kB / 0.6064 GB, free: 0.6406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.7217, allocations: 37.69 kB / 0.6064 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.7217, allocations: 83.95 kB / 0.6065 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.7218, allocations: 22.83 kB / 0.6065 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.7218, allocations: 3.938 kB / 0.6065 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7219, allocations: 326.6 kB / 0.6068 GB, free: 172 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-05/0.7219, allocations: 18.75 kB / 0.6068 GB, free: 160 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.722, allocations: 34.33 kB / 0.6069 GB, free: 124 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.722, allocations: 26.89 kB / 0.6069 GB, free: 104 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.722, allocations: 0 / 0.6069 GB, free: 104 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001419/0.7222, allocations: 87.97 kB / 0.607 GB, free: 24 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.7222, allocations: 8 kB / 0.607 GB, free: 16 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7222, allocations: 4 kB / 0.607 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.7222, allocations: 0 / 0.607 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.7223, allocations: 16.03 kB / 0.607 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.7224, allocations: 4 kB / 0.607 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.382e-05/0.7224, allocations: 3.906 kB / 0.607 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.7224, allocations: 11.97 kB / 0.607 GB, free: 15.98 MB / 410.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.927e-05/0.7225, allocations: 119.6 kB / 0.6071 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.7225, allocations: 7.906 kB / 0.6071 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.7227, allocations: 98.45 kB / 0.6072 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7227, allocations: 288 / 0.6072 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.7227, allocations: 0 / 0.6072 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7228, allocations: 0 / 0.6072 GB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.7231, allocations: 374.8 kB / 0.6076 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.7231, allocations: 0 / 0.6076 GB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.507e-05/0.7232, allocations: 15.92 kB / 0.6076 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.7232, allocations: 4 kB / 0.6076 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.7232, allocations: 0 / 0.6076 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7232, allocations: 0 / 0.6076 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.7232, allocations: 4 kB / 0.6076 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000186/0.7234, allocations: 208 kB / 0.6078 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003369/0.7238, allocations: 0.5699 MB / 0.6084 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.7238, allocations: 92.81 kB / 0.6085 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.7239, allocations: 11.91 kB / 0.6085 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.724, allocations: 0 / 0.6085 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.724, allocations: 15.91 kB / 0.6085 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.724, allocations: 7.938 kB / 0.6085 GB, free: 14.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.529e-05/0.7241, allocations: 125.8 kB / 0.6086 GB, free: 14.33 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008746/0.725, allocations: 71.11 kB / 0.6087 GB, free: 14.27 MB / 410.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.0007988/0.7258, allocations: 430.8 kB / 0.6091 GB, free: 13.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.7259, allocations: 59.67 kB / 0.6092 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7259, allocations: 0 / 0.6092 GB, free: 13.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.887e-05/0.726, allocations: 32.95 kB / 0.6092 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.7262, allocations: 31.56 kB / 0.6092 GB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.7266, allocations: 147.3 kB / 0.6094 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.7269, allocations: 0.7231 MB / 0.6101 GB, free: 12.94 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7269, allocations: 0 / 0.6101 GB, free: 12.94 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat does not exist to compare? outputFormat=mat