Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",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.001098/0.001098, allocations: 187.9 kB / 7.802 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.389/1.389, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009667/0.0009667, allocations: 87.52 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.2089/0.2089, allocations: 43.48 MB / 352.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2497/0.4586, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.7941, allocations: 58.85 MB / 476.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.9272, allocations: 83.84 MB / 0.5474 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.9275, allocations: 63.97 kB / 0.5474 GB, free: 15.09 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01014/0.9376, allocations: 3.174 MB / 0.5505 GB, free: 11.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.9377, allocations: 8 kB / 0.5505 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.9378, allocations: 11.84 kB / 0.5505 GB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.9379, allocations: 163 kB / 0.5507 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.9379, allocations: 4 kB / 0.5507 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.938, allocations: 19.89 kB / 0.5507 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001047/0.9381, allocations: 31.98 kB / 0.5507 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.9382, allocations: 53.67 kB / 0.5508 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.9382, allocations: 4 kB / 0.5508 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.9382, allocations: 0 / 0.5508 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.9382, allocations: 0 / 0.5508 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.9384, allocations: 158 kB / 0.551 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.9385, allocations: 77.7 kB / 0.551 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.368e-05/0.9386, allocations: 33.11 kB / 0.5511 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003152/0.9389, allocations: 113.1 kB / 0.5512 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.9389, allocations: 34.56 kB / 0.5512 GB, free: 11.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.474e-06/0.939, allocations: 3.984 kB / 0.5512 GB, free: 11.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=23): time 0.1228/1.062, allocations: 5.247 MB / 0.5563 GB, free: 5.773 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/1.062, allocations: 63.27 kB / 0.5564 GB, free: 5.699 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.952e-05/1.062, allocations: 85 kB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/1.062, allocations: 25.7 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/1.062, allocations: 80.52 kB / 0.5566 GB, free: 5.492 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/1.062, allocations: 74.91 kB / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/1.062, allocations: 0 / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/1.062, allocations: 322.7 kB / 0.5569 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/1.062, allocations: 68.11 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/1.063, allocations: 63.98 kB / 0.5571 GB, free: 4.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/1.064, allocations: 207.7 kB / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.064, allocations: 0 / 0.5573 GB, free: 4.762 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001389/1.065, allocations: 357.1 kB / 0.5576 GB, free: 4.406 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/1.065, allocations: 4 kB / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/1.065, allocations: 4 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/1.065, allocations: 0 / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/1.066, allocations: 99.84 kB / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/1.066, allocations: 0 / 0.5577 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002531/1.066, allocations: 35.97 kB / 0.5578 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/1.066, allocations: 19.98 kB / 0.5578 GB, free: 4.246 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 (23): * Single equations (assignments): 23 * 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.0001158/1.066, allocations: 116.8 kB / 0.5579 GB, free: 4.125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/1.066, allocations: 11.81 kB / 0.5579 GB, free: 4.113 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/1.068, allocations: 466.3 kB / 0.5583 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.068, allocations: 4 kB / 0.5583 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.068, allocations: 0 / 0.5583 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.068, allocations: 4 kB / 0.5583 GB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002499/1.07, allocations: 0.7998 MB / 0.5591 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/1.071, allocations: 0 / 0.5591 GB, free: 2.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/1.071, allocations: 91.92 kB / 0.5592 GB, free: 2.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.071, allocations: 4 kB / 0.5592 GB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/1.071, allocations: 11.98 kB / 0.5592 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.071, allocations: 0 / 0.5592 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.071, allocations: 0 / 0.5592 GB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001287/1.072, allocations: 460.4 kB / 0.5597 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001404/1.074, allocations: 0.8142 MB / 0.5605 GB, free: 1.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/1.074, allocations: 88.92 kB / 0.5605 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/1.074, allocations: 0 / 0.5605 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/1.074, allocations: 43.95 kB / 0.5606 GB, free: 1.199 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/1.074, allocations: 7.984 kB / 0.5606 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/1.074, allocations: 19.98 kB / 0.5606 GB, free: 1.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.559e-05/1.074, allocations: 75.28 kB / 0.5607 GB, free: 1.098 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002463/1.077, allocations: 0.613 MB / 0.5613 GB, free: 496 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.002854/1.079, allocations: 330.6 kB / 0.5616 GB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/1.08, allocations: 155.9 kB / 0.5618 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/1.08, allocations: 0 / 0.5618 GB, free: 15.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/1.08, allocations: 83.86 kB / 0.5618 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/1.08, allocations: 11.17 kB / 0.5618 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/1.081, allocations: 265.8 kB / 0.5621 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/1.081, allocations: 0.7629 MB / 0.5628 GB, free: 14.83 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/1.081, allocations: 0 / 0.5628 GB, free: 14.83 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat