Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.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.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",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.001171/0.001171, allocations: 186.5 kB / 7.801 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.159/1.159, 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.0008911/0.0008914, allocations: 88.42 kB / 261.4 MB, free: 13.6 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.1697/0.1697, allocations: 43.49 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1768/0.3465, allocations: 64.97 MB / 417.8 MB, free: 40.49 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.5928, allocations: 58.83 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1114/0.7042, allocations: 86.54 MB / 0.55 GB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.7045, allocations: 63.97 kB / 0.55 GB, free: 12.38 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.01914/0.7236, allocations: 7.087 MB / 0.557 GB, free: 5.258 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.7237, allocations: 8 kB / 0.557 GB, free: 5.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.724, allocations: 91.27 kB / 0.5571 GB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.7241, allocations: 238.3 kB / 0.5573 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.266e-05/0.7242, allocations: 156 kB / 0.5574 GB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.7242, allocations: 158.6 kB / 0.5576 GB, free: 4.578 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.873e-05/0.7243, allocations: 154.5 kB / 0.5577 GB, free: 4.426 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.658e-05/0.7244, allocations: 108.9 kB / 0.5578 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.7244, allocations: 75.28 kB / 0.5579 GB, free: 4.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.647e-05/0.7245, allocations: 150.6 kB / 0.558 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.7245, allocations: 154.5 kB / 0.5582 GB, free: 3.938 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00025/0.7248, allocations: 430.5 kB / 0.5586 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.882e-05/0.7249, allocations: 173.1 kB / 0.5588 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.7249, allocations: 80.14 kB / 0.5588 GB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.7249, allocations: 75.28 kB / 0.5589 GB, free: 3.145 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.725, allocations: 109.8 kB / 0.559 GB, free: 3.027 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 1.823e-06/0.725, allocations: 0 / 0.559 GB, free: 3.027 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 7.72e-05/0.7251, allocations: 29.7 kB / 0.5591 GB, free: 2.992 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.7251, allocations: 102.8 kB / 0.5592 GB, free: 2.867 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.7252, allocations: 89.05 kB / 0.5592 GB, free: 2.773 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.7252, allocations: 25.7 kB / 0.5593 GB, free: 2.742 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.902e-05/0.7253, allocations: 80.14 kB / 0.5593 GB, free: 2.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-06/0.7253, allocations: 4.125 kB / 0.5593 GB, free: 2.656 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2e-07/0.7253, allocations: 4 kB / 0.5593 GB, free: 2.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.7254, allocations: 318.8 kB / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.961e-06/0.7254, allocations: 0 / 0.5596 GB, free: 2.332 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.165e-05/0.7255, allocations: 17.64 kB / 0.5597 GB, free: 2.309 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.7255, allocations: 75.28 kB / 0.5597 GB, free: 2.234 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.487e-05/0.7256, allocations: 79.28 kB / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.066e-05/0.7256, allocations: 25.7 kB / 0.5598 GB, free: 2.125 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7257, allocations: 12.03 kB / 0.5598 GB, free: 2.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/0.7257, allocations: 75.28 kB / 0.5599 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.127e-05/0.7258, allocations: 154.5 kB / 0.5601 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.034e-05/0.7258, allocations: 75.28 kB / 0.5601 GB, free: 1.812 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.322e-05/0.7259, allocations: 158.5 kB / 0.5603 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.726, allocations: 87.16 kB / 0.5604 GB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.726, allocations: 81.23 kB / 0.5605 GB, free: 1.492 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 (0): * Single equations (assignments): 0 * 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.0001182/0.7261, allocations: 264.3 kB / 0.5607 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.559e-05/0.7262, allocations: 101 kB / 0.5608 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.23e-05/0.7263, allocations: 111.9 kB / 0.5609 GB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.804e-05/0.7263, allocations: 180.2 kB / 0.5611 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.927e-05/0.7264, allocations: 180.3 kB / 0.5612 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.862e-05/0.7265, allocations: 180.2 kB / 0.5614 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.7267, allocations: 389.7 kB / 0.5618 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.08e-05/0.7267, allocations: 101 kB / 0.5619 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.7268, allocations: 104.9 kB / 0.562 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/0.7268, allocations: 184.2 kB / 0.5622 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.7269, allocations: 176.3 kB / 0.5623 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.139e-05/0.727, allocations: 188.2 kB / 0.5625 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.994e-05/0.727, allocations: 180.6 kB / 0.5627 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001176/0.7271, allocations: 307.8 kB / 0.563 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002471/0.7274, allocations: 0.6837 MB / 0.5636 GB, free: 14.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.7275, allocations: 178.1 kB / 0.5638 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/0.7276, allocations: 184.3 kB / 0.564 GB, free: 13.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.7277, allocations: 109 kB / 0.5641 GB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.7278, allocations: 184.2 kB / 0.5643 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.7278, allocations: 101 kB / 0.5644 GB, free: 13.24 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.748e-05/0.7279, allocations: 79.19 kB / 0.5644 GB, free: 13.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001161/0.729, allocations: 151.9 kB / 0.5646 GB, free: 13.02 MB / 410.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 (0): * Single equations (assignments): 0 * 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.0009645/0.73, allocations: 499.4 kB / 0.5651 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.224e-05/0.7301, allocations: 8 kB / 0.5651 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7301, allocations: 0 / 0.5651 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.7301, allocations: 0 / 0.5651 GB, free: 12.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.7303, allocations: 0.5224 MB / 0.5656 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001681/0.7305, allocations: 123.3 kB / 0.5657 GB, free: 11.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.7308, allocations: 0.688 MB / 0.5664 GB, free: 11.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.733e-06/0.7308, allocations: 0 / 0.5664 GB, free: 11.14 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat