Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",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.001258/0.001258, allocations: 186.9 kB / 7.804 MB, free: 2.453 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.562/1.562, 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.001271/0.00127, allocations: 91.64 kB / 261.4 MB, free: 13.52 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.2827/0.2827, allocations: 43.49 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.273/0.5558, allocations: 64.99 MB / 417.8 MB, free: 40.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.9343, allocations: 58.84 MB / 476.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/1.085, allocations: 91.02 MB / 0.5544 GB, free: 7.875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/1.086, allocations: 95.44 kB / 0.5545 GB, free: 7.785 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.02891/1.115, allocations: 9.603 MB / 0.5639 GB, free: 13.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/1.115, allocations: 16 kB / 0.5639 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001714/1.115, allocations: 43.44 kB / 0.5639 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/1.116, allocations: 282.3 kB / 0.5642 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/1.116, allocations: 12 kB / 0.5642 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.043e-05/1.116, allocations: 20 kB / 0.5642 GB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007816/1.116, allocations: 0.4975 MB / 0.5647 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/1.117, allocations: 483.2 kB / 0.5652 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.117, allocations: 0 / 0.5652 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/1.117, allocations: 4 kB / 0.5652 GB, free: 12.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/1.117, allocations: 36.92 kB / 0.5652 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/1.119, allocations: 1.065 MB / 0.5662 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00069/1.12, allocations: 449.2 kB / 0.5667 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/1.12, allocations: 149.2 kB / 0.5668 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/1.121, allocations: 8.234 kB / 0.5668 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.121, allocations: 30.8 kB / 0.5668 GB, free: 10.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.114e-06/1.121, allocations: 4 kB / 0.5668 GB, free: 10.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007452/1.121, allocations: 355.2 kB / 0.5672 GB, free: 10.44 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/1.121, allocations: 59.39 kB / 0.5672 GB, free: 10.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/1.122, allocations: 129.4 kB / 0.5674 GB, free: 10.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/1.122, allocations: 29.64 kB / 0.5674 GB, free: 10.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/1.122, allocations: 192.1 kB / 0.5676 GB, free: 10.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000119/1.122, allocations: 94.56 kB / 0.5677 GB, free: 9.918 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/1.122, allocations: 0 / 0.5677 GB, free: 9.918 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/1.122, allocations: 334.8 kB / 0.568 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/1.122, allocations: 123.9 kB / 0.5681 GB, free: 9.461 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/1.123, allocations: 123.9 kB / 0.5682 GB, free: 9.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/1.123, allocations: 151.8 kB / 0.5684 GB, free: 9.191 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.123, allocations: 0 / 0.5684 GB, free: 9.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006273/1.123, allocations: 349.9 kB / 0.5687 GB, free: 8.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.123, allocations: 4 kB / 0.5687 GB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.123, allocations: 0 / 0.5687 GB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/1.124, allocations: 0 / 0.5687 GB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/1.125, allocations: 171.7 kB / 0.5689 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/1.128, allocations: 5.603 MB / 0.5743 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/1.129, allocations: 19.78 kB / 0.5744 GB, free: 2.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.397e-05/1.129, allocations: 12.17 kB / 0.5744 GB, free: 2.828 MB / 410.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 (28): * 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): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.129, allocations: 116.9 kB / 0.5745 GB, free: 2.707 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/1.129, allocations: 15.81 kB / 0.5745 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008634/1.13, allocations: 0.4907 MB / 0.575 GB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.13, allocations: 7.984 kB / 0.575 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.13, allocations: 0 / 0.575 GB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/1.13, allocations: 3.984 kB / 0.575 GB, free: 2.188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005259/1.13, allocations: 349.8 kB / 0.5753 GB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.13, allocations: 4 kB / 0.5753 GB, free: 1.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008114/1.131, allocations: 163.8 kB / 0.5755 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/1.131, allocations: 0 / 0.5755 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/1.131, allocations: 7.984 kB / 0.5755 GB, free: 1.637 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003169/1.134, allocations: 5.594 MB / 0.581 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.135, allocations: 8.125 kB / 0.581 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006134/1.135, allocations: 455 kB / 0.5814 GB, free: 11.36 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006934/1.136, allocations: 0.8242 MB / 0.5822 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.48e-05/1.136, allocations: 96.86 kB / 0.5823 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/1.136, allocations: 0 / 0.5823 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/1.136, allocations: 15.98 kB / 0.5823 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/1.136, allocations: 15.97 kB / 0.5823 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/1.136, allocations: 19.92 kB / 0.5823 GB, free: 10.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.702e-05/1.136, allocations: 108.1 kB / 0.5824 GB, free: 10.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001082/1.138, allocations: 139.4 kB / 0.5826 GB, free: 10.11 MB / 426.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 (28): * 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): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003349/1.138, allocations: 173 kB / 0.5827 GB, free: 9.934 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/1.139, allocations: 435.6 kB / 0.5832 GB, free: 9.508 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.139, allocations: 0 / 0.5832 GB, free: 9.508 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/1.14, allocations: 303.7 kB / 0.5834 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/1.141, allocations: 16.59 kB / 0.5835 GB, free: 9.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/1.142, allocations: 0.5521 MB / 0.584 GB, free: 8.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006183/1.143, allocations: 0.9035 MB / 0.5849 GB, free: 7.68 MB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/1.143, allocations: 0 / 0.5849 GB, free: 7.68 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat