Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.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.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",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.00138/0.00138, allocations: 187.4 kB / 7.807 MB, free: 2.449 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.42/1.42, 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.001026/0.001026, allocations: 95.77 kB / 261.4 MB, free: 13.62 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.2112/0.2112, allocations: 43.48 MB / 352.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2252/0.4365, allocations: 64.98 MB / 417.8 MB, free: 40.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.7805, allocations: 58.84 MB / 476.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.915, allocations: 83.74 MB / 0.5473 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003544/0.9155, allocations: 67.97 kB / 0.5473 GB, free: 15.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01/0.9255, allocations: 3.05 MB / 0.5503 GB, free: 12.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9255, allocations: 12 kB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.9256, allocations: 7.844 kB / 0.5503 GB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.9257, allocations: 167 kB / 0.5505 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.9257, allocations: 0 / 0.5505 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.665e-05/0.9258, allocations: 7.906 kB / 0.5505 GB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.875e-05/0.9259, allocations: 27.98 kB / 0.5505 GB, free: 11.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.513e-05/0.926, allocations: 49.62 kB / 0.5506 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.926, allocations: 3.984 kB / 0.5506 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.926, allocations: 0 / 0.5506 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.926, allocations: 0 / 0.5506 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.9262, allocations: 154.1 kB / 0.5507 GB, free: 11.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.9264, allocations: 41.72 kB / 0.5508 GB, free: 11.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.9265, allocations: 28.84 kB / 0.5508 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002727/0.9268, allocations: 109.1 kB / 0.5509 GB, free: 11.35 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.9268, allocations: 38.78 kB / 0.5509 GB, free: 11.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.173e-06/0.9268, allocations: 3.938 kB / 0.5509 GB, free: 11.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.1308/1.058, allocations: 5.555 MB / 0.5563 GB, free: 5.707 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/1.058, allocations: 55.41 kB / 0.5564 GB, free: 5.641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/1.058, allocations: 101 kB / 0.5565 GB, free: 5.535 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/1.058, allocations: 25.7 kB / 0.5565 GB, free: 5.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/1.058, allocations: 84.14 kB / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/1.058, allocations: 55.11 kB / 0.5567 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/1.058, allocations: 0 / 0.5567 GB, free: 5.363 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002288/1.058, allocations: 322.8 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/1.059, allocations: 183.9 kB / 0.5571 GB, free: 4.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/1.059, allocations: 188 kB / 0.5573 GB, free: 4.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/1.06, allocations: 283.7 kB / 0.5576 GB, free: 4.395 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.06, allocations: 4 kB / 0.5576 GB, free: 4.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001758/1.062, allocations: 0.5753 MB / 0.5582 GB, free: 3.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/1.062, allocations: 8 kB / 0.5582 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.062, allocations: 3.906 kB / 0.5582 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.062, allocations: 0 / 0.5582 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007934/1.063, allocations: 119.8 kB / 0.5583 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.063, allocations: 4 kB / 0.5583 GB, free: 3.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/1.063, allocations: 35.95 kB / 0.5583 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-05/1.064, allocations: 32.14 kB / 0.5583 GB, free: 3.609 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 (19): * Single equations (assignments): 19 * 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.0001534/1.064, allocations: 104.9 kB / 0.5584 GB, free: 3.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.848e-05/1.064, allocations: 15.83 kB / 0.5585 GB, free: 3.484 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/1.066, allocations: 0.7434 MB / 0.5592 GB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.066, allocations: 7.906 kB / 0.5592 GB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.066, allocations: 3.938 kB / 0.5592 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/1.066, allocations: 0 / 0.5592 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/1.071, allocations: 1.137 MB / 0.5603 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.071, allocations: 0 / 0.5603 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/1.071, allocations: 112 kB / 0.5604 GB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.071, allocations: 3.938 kB / 0.5604 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-05/1.071, allocations: 27.95 kB / 0.5604 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/1.071, allocations: 0 / 0.5604 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.176e-06/1.071, allocations: 7.906 kB / 0.5605 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001725/1.073, allocations: 0.6155 MB / 0.5611 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001798/1.075, allocations: 0.9873 MB / 0.562 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/1.075, allocations: 93.25 kB / 0.5621 GB, free: 15.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.561e-05/1.075, allocations: 4 kB / 0.5621 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/1.076, allocations: 31.97 kB / 0.5621 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/1.076, allocations: 11.98 kB / 0.5622 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/1.076, allocations: 35.89 kB / 0.5622 GB, free: 15.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.229e-05/1.076, allocations: 83.27 kB / 0.5623 GB, free: 15.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002581/1.078, allocations: 0.6286 MB / 0.5629 GB, free: 14.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003445/1.082, allocations: 326.7 kB / 0.5632 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007502/1.083, allocations: 367.7 kB / 0.5635 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/1.083, allocations: 8 kB / 0.5636 GB, free: 14.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002848/1.083, allocations: 155.8 kB / 0.5637 GB, free: 13.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/1.083, allocations: 8.938 kB / 0.5637 GB, free: 13.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/1.086, allocations: 0.4966 MB / 0.5642 GB, free: 13.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007008/1.086, allocations: 0.7935 MB / 0.565 GB, free: 12.51 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/1.086, allocations: 0 / 0.565 GB, free: 12.51 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat