Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20",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.001676/0.001676, allocations: 192.1 kB / 7.805 MB, free: 2.5 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.78/1.78, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001246/0.001246, allocations: 91.98 kB / 261.4 MB, free: 13.55 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.2463/0.2463, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2184/0.4648, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.8146, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.9577, allocations: 85.86 MB / 0.5493 GB, free: 13.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/0.958, allocations: 75.94 kB / 0.5494 GB, free: 13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.01806/0.9761, allocations: 6.167 MB / 0.5554 GB, free: 6.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.9762, allocations: 8 kB / 0.5554 GB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.9762, allocations: 11.91 kB / 0.5554 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.9765, allocations: 190.9 kB / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.9766, allocations: 0 / 0.5556 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.9766, allocations: 4 kB / 0.5556 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.981e-05/0.9767, allocations: 15.84 kB / 0.5556 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.9768, allocations: 55.41 kB / 0.5557 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.9768, allocations: 0 / 0.5557 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.9768, allocations: 0 / 0.5557 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.9768, allocations: 0 / 0.5557 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000448/0.9773, allocations: 253.4 kB / 0.5559 GB, free: 6.176 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.9775, allocations: 37.62 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.9776, allocations: 12.86 kB / 0.556 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.9776, allocations: 0 / 0.556 GB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.9777, allocations: 34.56 kB / 0.556 GB, free: 6.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 2.305e-06/0.9777, allocations: 0 / 0.556 GB, free: 6.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005887/0.9783, allocations: 97.48 kB / 0.5561 GB, free: 5.973 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.716e-05/0.9784, allocations: 81.05 kB / 0.5562 GB, free: 5.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.9785, allocations: 121.4 kB / 0.5563 GB, free: 5.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.9786, allocations: 25.7 kB / 0.5563 GB, free: 5.719 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.9786, allocations: 84.12 kB / 0.5564 GB, free: 5.633 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.9787, allocations: 19.75 kB / 0.5564 GB, free: 5.613 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.9787, allocations: 4 kB / 0.5564 GB, free: 5.609 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.9789, allocations: 318.8 kB / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.9789, allocations: 8 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.9789, allocations: 17.72 kB / 0.5568 GB, free: 5.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.485e-05/0.979, allocations: 12 kB / 0.5568 GB, free: 5.246 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.15e-05/0.9791, allocations: 3.906 kB / 0.5568 GB, free: 5.242 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001431/0.9792, allocations: 53.69 kB / 0.5568 GB, free: 5.184 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.9793, allocations: 11.94 kB / 0.5568 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.9793, allocations: 7.938 kB / 0.5568 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.9793, allocations: 0 / 0.5568 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.953e-05/0.9794, allocations: 19.92 kB / 0.5569 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.9794, allocations: 0 / 0.5569 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.051e-05/0.9795, allocations: 4 kB / 0.5569 GB, free: 5.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.9795, allocations: 4 kB / 0.5569 GB, free: 5.137 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 (5): * Single equations (assignments): 5 * 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 0.0001114/0.9796, allocations: 110.3 kB / 0.557 GB, free: 5.023 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.9797, allocations: 7.906 kB / 0.557 GB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001877/0.9798, allocations: 73.97 kB / 0.557 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.9799, allocations: 64 / 0.557 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.9799, allocations: 4 kB / 0.5571 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.9799, allocations: 3.906 kB / 0.5571 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.9804, allocations: 299.1 kB / 0.5573 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.9804, allocations: 0 / 0.5573 GB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.086e-05/0.9805, allocations: 19.98 kB / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.9805, allocations: 0 / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.9805, allocations: 0 / 0.5574 GB, free: 4.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.9805, allocations: 3.906 kB / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.9805, allocations: 0 / 0.5574 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00019/0.9807, allocations: 159.4 kB / 0.5575 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000373/0.9811, allocations: 0.5272 MB / 0.558 GB, free: 3.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.9812, allocations: 85.02 kB / 0.5581 GB, free: 3.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.9812, allocations: 4 kB / 0.5581 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.399e-05/0.9813, allocations: 7.984 kB / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.9814, allocations: 0 / 0.5581 GB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.9814, allocations: 8 kB / 0.5581 GB, free: 3.727 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-05/0.9815, allocations: 103.4 kB / 0.5582 GB, free: 3.625 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008617/0.9823, allocations: 35.89 kB / 0.5583 GB, free: 3.59 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 (5): * Single equations (assignments): 5 * 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.0009863/0.9833, allocations: 341.6 kB / 0.5586 GB, free: 3.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000163/0.9835, allocations: 24 kB / 0.5586 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.9835, allocations: 0 / 0.5586 GB, free: 3.266 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.9836, allocations: 16 kB / 0.5586 GB, free: 3.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.9839, allocations: 11.84 kB / 0.5586 GB, free: 3.238 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004782/0.9844, allocations: 95.75 kB / 0.5587 GB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000564/0.9849, allocations: 0.7192 MB / 0.5594 GB, free: 2.371 MB / 394.7 MB Notification: Performance of SimCode: time 6.51e-07/0.9849, allocations: 0 / 0.5594 GB, free: 2.371 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat does not exist to compare? outputFormat=mat