Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.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.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",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.001118/0.001118, allocations: 185.2 kB / 7.806 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.339/1.339, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0009282/0.0009281, allocations: 77.33 kB / 261.4 MB, free: 13.56 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.2106/0.2106, allocations: 43.48 MB / 352.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2329/0.4436, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.8017, allocations: 58.84 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.935, allocations: 83.54 MB / 0.5471 GB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.9353, allocations: 71.08 kB / 0.5471 GB, free: 15.3 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.005586/0.9409, allocations: 1.828 MB / 0.5489 GB, free: 13.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.941, allocations: 8 kB / 0.5489 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.941, allocations: 7.406 kB / 0.5489 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.9412, allocations: 163.1 kB / 0.5491 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.9412, allocations: 0 / 0.5491 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.9413, allocations: 11.91 kB / 0.5491 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.017e-05/0.9414, allocations: 23.98 kB / 0.5491 GB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.627e-05/0.9415, allocations: 49.62 kB / 0.5492 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.9415, allocations: 0 / 0.5492 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9415, allocations: 0 / 0.5492 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.9415, allocations: 8 kB / 0.5492 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00018/0.9417, allocations: 150.1 kB / 0.5493 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.9419, allocations: 45.7 kB / 0.5494 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.942, allocations: 20.86 kB / 0.5494 GB, free: 12.87 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002656/0.9422, allocations: 117.1 kB / 0.5495 GB, free: 12.73 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.9423, allocations: 38.78 kB / 0.5495 GB, free: 12.69 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.9423, allocations: 0 / 0.5495 GB, free: 12.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.03784/0.9801, allocations: 2.174 MB / 0.5517 GB, free: 10.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.9802, allocations: 55.41 kB / 0.5517 GB, free: 10.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.241e-05/0.9803, allocations: 101 kB / 0.5518 GB, free: 10.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.9804, allocations: 25.89 kB / 0.5518 GB, free: 10.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.9804, allocations: 80.14 kB / 0.5519 GB, free: 10.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.9805, allocations: 63.05 kB / 0.552 GB, free: 10.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.9805, allocations: 0 / 0.552 GB, free: 10.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9807, allocations: 322.8 kB / 0.5523 GB, free: 9.805 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.9809, allocations: 136 kB / 0.5524 GB, free: 9.672 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.9812, allocations: 140 kB / 0.5525 GB, free: 9.535 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.9818, allocations: 199.9 kB / 0.5527 GB, free: 9.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.9818, allocations: 4 kB / 0.5527 GB, free: 9.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008983/0.9827, allocations: 416 kB / 0.5531 GB, free: 8.926 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.9827, allocations: 8 kB / 0.5531 GB, free: 8.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.9828, allocations: 7.844 kB / 0.5531 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.9828, allocations: 0 / 0.5531 GB, free: 8.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.9832, allocations: 79.94 kB / 0.5532 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.9832, allocations: 0 / 0.5532 GB, free: 8.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000237/0.9835, allocations: 27.98 kB / 0.5532 GB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.9835, allocations: 19.98 kB / 0.5533 GB, free: 8.785 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.000111/0.9837, allocations: 104.9 kB / 0.5534 GB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.9837, allocations: 7.906 kB / 0.5534 GB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/0.985, allocations: 0.5369 MB / 0.5539 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.9851, allocations: 3.906 kB / 0.5539 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9851, allocations: 4 kB / 0.5539 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.9851, allocations: 0 / 0.5539 GB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.9873, allocations: 0.8471 MB / 0.5547 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-06/0.9873, allocations: 0 / 0.5547 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.9876, allocations: 88.05 kB / 0.5548 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.9876, allocations: 0 / 0.5548 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.69e-05/0.9877, allocations: 15.98 kB / 0.5548 GB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.9877, allocations: 4 kB / 0.5548 GB, free: 7.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.9877, allocations: 3.906 kB / 0.5548 GB, free: 7.09 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009085/0.9886, allocations: 495.4 kB / 0.5553 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001141/0.9898, allocations: 0.8566 MB / 0.5561 GB, free: 5.605 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.033e-05/0.9899, allocations: 85.02 kB / 0.5562 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.061e-05/0.9899, allocations: 4 kB / 0.5562 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.9902, allocations: 35.91 kB / 0.5563 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.532e-05/0.9902, allocations: 15.92 kB / 0.5563 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.9902, allocations: 23.98 kB / 0.5563 GB, free: 5.426 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.474e-05/0.9903, allocations: 79.28 kB / 0.5564 GB, free: 5.348 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00165/0.992, allocations: 339.7 kB / 0.5567 GB, free: 5.016 MB / 394.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.001416/0.9934, allocations: 262.8 kB / 0.557 GB, free: 4.746 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.9939, allocations: 263.9 kB / 0.5572 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9939, allocations: 0 / 0.5572 GB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.9941, allocations: 116.2 kB / 0.5573 GB, free: 4.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002033/0.9944, allocations: 15.84 kB / 0.5573 GB, free: 4.359 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.9957, allocations: 356.4 kB / 0.5577 GB, free: 3.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.9962, allocations: 0.7546 MB / 0.5584 GB, free: 3.188 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.9962, allocations: 0 / 0.5584 GB, free: 3.188 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat