Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14",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.001197/0.001197, allocations: 192.6 kB / 7.807 MB, free: 2.488 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.274/1.274, 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.0009495/0.0009495, allocations: 89.39 kB / 261.4 MB, free: 13.61 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.1874/0.1874, allocations: 43.48 MB / 352.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1942/0.3817, allocations: 64.98 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.693, allocations: 58.83 MB / 476.7 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.8144, allocations: 86.69 MB / 0.5501 GB, free: 12.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.8147, allocations: 71.95 kB / 0.5502 GB, free: 12.24 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.01804/0.8328, allocations: 6.482 MB / 0.5565 GB, free: 5.711 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.8328, allocations: 12 kB / 0.5566 GB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.8329, allocations: 11.81 kB / 0.5566 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.8331, allocations: 198.8 kB / 0.5568 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.8332, allocations: 0 / 0.5568 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.8332, allocations: 0 / 0.5568 GB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.594e-05/0.8333, allocations: 27.98 kB / 0.5568 GB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.8334, allocations: 71.33 kB / 0.5568 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.8334, allocations: 0 / 0.5568 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.8334, allocations: 0 / 0.5568 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8335, allocations: 0 / 0.5568 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004372/0.8339, allocations: 289.3 kB / 0.5571 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001121/0.834, allocations: 42.48 kB / 0.5572 GB, free: 4.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.8341, allocations: 16.94 kB / 0.5572 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.8341, allocations: 0 / 0.5572 GB, free: 4.953 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.8342, allocations: 34.56 kB / 0.5572 GB, free: 4.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.8342, allocations: 0 / 0.5572 GB, free: 4.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005443/0.8347, allocations: 153.3 kB / 0.5574 GB, free: 4.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.8348, allocations: 77.19 kB / 0.5574 GB, free: 4.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.8349, allocations: 129.2 kB / 0.5576 GB, free: 4.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.8349, allocations: 25.7 kB / 0.5576 GB, free: 4.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.367e-05/0.835, allocations: 95.92 kB / 0.5577 GB, free: 4.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.835, allocations: 23.7 kB / 0.5577 GB, free: 4.371 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.069e-06/0.835, allocations: 0 / 0.5577 GB, free: 4.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8352, allocations: 318.8 kB / 0.558 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.316e-05/0.8352, allocations: 27.97 kB / 0.558 GB, free: 4.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.436e-05/0.8353, allocations: 29.72 kB / 0.5581 GB, free: 3.988 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.8353, allocations: 24.22 kB / 0.5581 GB, free: 3.965 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.8353, allocations: 4.031 kB / 0.5581 GB, free: 3.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001487/0.8355, allocations: 89.5 kB / 0.5582 GB, free: 3.867 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.8355, allocations: 8 kB / 0.5582 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8355, allocations: 0 / 0.5582 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.8356, allocations: 0 / 0.5582 GB, free: 3.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.8357, allocations: 23.98 kB / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.8357, allocations: 0 / 0.5582 GB, free: 3.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.148e-05/0.8358, allocations: 23.89 kB / 0.5582 GB, free: 3.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.8358, allocations: 0 / 0.5582 GB, free: 3.812 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 9.356e-05/0.8359, allocations: 110.3 kB / 0.5583 GB, free: 3.699 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.836, allocations: 7.906 kB / 0.5583 GB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002226/0.8362, allocations: 98.09 kB / 0.5584 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.8362, allocations: 8 kB / 0.5584 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.8362, allocations: 0 / 0.5584 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8362, allocations: 0 / 0.5584 GB, free: 3.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004151/0.8366, allocations: 347 kB / 0.5588 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.8367, allocations: 3.984 kB / 0.5588 GB, free: 3.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.8368, allocations: 27.98 kB / 0.5588 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8368, allocations: 0 / 0.5588 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.8368, allocations: 0 / 0.5588 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.8368, allocations: 0 / 0.5588 GB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.8368, allocations: 15.78 kB / 0.5588 GB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001963/0.837, allocations: 179.7 kB / 0.559 GB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002794/0.8373, allocations: 0.5585 MB / 0.5595 GB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.759e-05/0.8374, allocations: 88.92 kB / 0.5596 GB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.8374, allocations: 3.984 kB / 0.5596 GB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.8375, allocations: 12 kB / 0.5596 GB, free: 2.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.8376, allocations: 7.984 kB / 0.5596 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.8376, allocations: 11.94 kB / 0.5596 GB, free: 2.238 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.789e-05/0.8377, allocations: 110.7 kB / 0.5598 GB, free: 2.133 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008431/0.8385, allocations: 28 kB / 0.5598 GB, free: 2.105 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.0007375/0.8393, allocations: 331.8 kB / 0.5601 GB, free: 1.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.8394, allocations: 51.98 kB / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.8394, allocations: 0 / 0.5601 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.726e-05/0.8395, allocations: 39.92 kB / 0.5602 GB, free: 1.734 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.8397, allocations: 15.75 kB / 0.5602 GB, free: 1.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.8401, allocations: 131.8 kB / 0.5603 GB, free: 1.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.8404, allocations: 0.727 MB / 0.561 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of SimCode: time 2.7e-07/0.8404, allocations: 0 / 0.561 GB, free: 0.8125 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test14_res.mat does not exist to compare? outputFormat=mat