Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11",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 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 194.3 kB / 7.806 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000991/0.0009911, allocations: 96.19 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1789/0.1789, allocations: 43.49 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2332/0.4122, allocations: 64.97 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.6847, allocations: 58.83 MB / 476.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.8037, allocations: 86.7 MB / 0.5501 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.804, allocations: 75.45 kB / 0.5502 GB, free: 12.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01755/0.8215, allocations: 6.476 MB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.8216, allocations: 12 kB / 0.5566 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.8216, allocations: 11.81 kB / 0.5566 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.8219, allocations: 190.8 kB / 0.5567 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.8219, allocations: 4 kB / 0.5567 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.822, allocations: 4 kB / 0.5568 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.584e-05/0.822, allocations: 23.98 kB / 0.5568 GB, free: 5.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.8222, allocations: 67.34 kB / 0.5568 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.8222, allocations: 0 / 0.5568 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.8222, allocations: 3.984 kB / 0.5568 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8222, allocations: 0 / 0.5568 GB, free: 5.246 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.8227, allocations: 293.3 kB / 0.5571 GB, free: 4.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.529e-05/0.8228, allocations: 38.47 kB / 0.5572 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.8228, allocations: 16.86 kB / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.8228, allocations: 0 / 0.5572 GB, free: 4.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.8229, allocations: 38.56 kB / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.8229, allocations: 0 / 0.5572 GB, free: 4.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005041/0.8234, allocations: 145.4 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.8235, allocations: 89.09 kB / 0.5574 GB, free: 4.555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.8236, allocations: 125.2 kB / 0.5576 GB, free: 4.422 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.8236, allocations: 25.7 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.8237, allocations: 95.92 kB / 0.5577 GB, free: 4.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.8237, allocations: 19.7 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.8237, allocations: 0 / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.8238, allocations: 318.8 kB / 0.558 GB, free: 3.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.8239, allocations: 23.98 kB / 0.558 GB, free: 3.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.15e-05/0.8239, allocations: 33.72 kB / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.851e-05/0.824, allocations: 23.98 kB / 0.5581 GB, free: 3.867 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.824, allocations: 0 / 0.5581 GB, free: 3.867 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001398/0.8241, allocations: 93.58 kB / 0.5582 GB, free: 3.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.8242, allocations: 8 kB / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8242, allocations: 0 / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.8242, allocations: 0 / 0.5582 GB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.8243, allocations: 28.02 kB / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.8243, allocations: 0 / 0.5582 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.401e-05/0.8244, allocations: 15.89 kB / 0.5582 GB, free: 3.719 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.854e-06/0.8244, allocations: 4 kB / 0.5582 GB, free: 3.715 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.356e-05/0.8245, allocations: 110.3 kB / 0.5583 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.8246, allocations: 7.906 kB / 0.5583 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.8248, allocations: 102.4 kB / 0.5584 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.8248, allocations: 4 kB / 0.5584 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8248, allocations: 0 / 0.5584 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.8248, allocations: 0 / 0.5584 GB, free: 3.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.8252, allocations: 351 kB / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8252, allocations: 0 / 0.5588 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.8253, allocations: 31.92 kB / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.8253, allocations: 0 / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.8253, allocations: 0 / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.8253, allocations: 0 / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8254, allocations: 7.844 kB / 0.5588 GB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001679/0.8255, allocations: 187.4 kB / 0.559 GB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002454/0.8258, allocations: 0.5545 MB / 0.5595 GB, free: 2.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.895e-05/0.8258, allocations: 92.86 kB / 0.5596 GB, free: 2.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.8259, allocations: 3.984 kB / 0.5596 GB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.826, allocations: 16 kB / 0.5596 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.826, allocations: 11.98 kB / 0.5596 GB, free: 2.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.826, allocations: 3.938 kB / 0.5596 GB, free: 2.137 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.706e-05/0.8261, allocations: 106.7 kB / 0.5597 GB, free: 2.035 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008313/0.827, allocations: 35.98 kB / 0.5598 GB, free: 2 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0007155/0.8277, allocations: 333.9 kB / 0.5601 GB, free: 1.719 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.8278, allocations: 51.94 kB / 0.5601 GB, free: 1.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8279, allocations: 0 / 0.5601 GB, free: 1.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.045e-05/0.8279, allocations: 31.98 kB / 0.5602 GB, free: 1.637 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.8281, allocations: 19.69 kB / 0.5602 GB, free: 1.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.8285, allocations: 135.4 kB / 0.5603 GB, free: 1.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003686/0.8289, allocations: 0.7269 MB / 0.561 GB, free: 0.707 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8289, allocations: 0 / 0.561 GB, free: 0.707 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat does not exist to compare? outputFormat=mat