Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 178.2 kB / 8.519 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 221.4 MB / 230.3 MB, free: 7.746 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000922/0.0009219, allocations: 79.31 kB / 281.2 MB, free: 5.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1621/0.1621, allocations: 44.15 MB / 376.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1776/0.3397, allocations: 68.04 MB / 444.1 MB, free: 15.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09262/0.4324, allocations: 61.92 MB / 0.4942 GB, free: 1.492 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2661/0.6985, allocations: 97.22 MB / 0.5891 GB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.6988, allocations: 102.6 kB / 0.5892 GB, free: 15.34 MB / 410.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.04328/0.742, allocations: 14.94 MB / 0.6038 GB, free: 208 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7421, allocations: 15.94 kB / 0.6038 GB, free: 192 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.7422, allocations: 39.44 kB / 0.6039 GB, free: 148 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.7427, allocations: 287.3 kB / 0.6041 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.7427, allocations: 12 kB / 0.6042 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.7427, allocations: 20 kB / 0.6042 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006857/0.7434, allocations: 0.4936 MB / 0.6047 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006771/0.7441, allocations: 483.2 kB / 0.6051 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.7441, allocations: 0 / 0.6051 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/0.7442, allocations: 3.938 kB / 0.6051 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.558e-05/0.7442, allocations: 40.97 kB / 0.6052 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.746, allocations: 1.065 MB / 0.6062 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006207/0.7466, allocations: 443.8 kB / 0.6066 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.7468, allocations: 145.2 kB / 0.6068 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.746e-05/0.7469, allocations: 12.22 kB / 0.6068 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.7469, allocations: 34.8 kB / 0.6068 GB, free: 13.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.7469, allocations: 0 / 0.6068 GB, free: 13.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006159/0.7475, allocations: 360.3 kB / 0.6072 GB, free: 12.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.7476, allocations: 55.41 kB / 0.6072 GB, free: 12.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.7477, allocations: 136.7 kB / 0.6073 GB, free: 12.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.7477, allocations: 29.7 kB / 0.6074 GB, free: 12.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.7478, allocations: 188.1 kB / 0.6075 GB, free: 12.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.7479, allocations: 98.5 kB / 0.6076 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.7479, allocations: 0 / 0.6076 GB, free: 12.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.748, allocations: 334.8 kB / 0.608 GB, free: 11.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.7482, allocations: 123.9 kB / 0.6081 GB, free: 11.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.7484, allocations: 123.9 kB / 0.6082 GB, free: 11.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002167/0.7486, allocations: 151.8 kB / 0.6083 GB, free: 11.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7487, allocations: 0 / 0.6083 GB, free: 11.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005495/0.7492, allocations: 345.2 kB / 0.6087 GB, free: 11.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.7492, allocations: 8 kB / 0.6087 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7492, allocations: 0 / 0.6087 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.7493, allocations: 0 / 0.6087 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000895/0.7502, allocations: 163.8 kB / 0.6088 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003157/0.7533, allocations: 5.606 MB / 0.6143 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.7535, allocations: 23.77 kB / 0.6143 GB, free: 5.066 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-05/0.7536, allocations: 11.98 kB / 0.6143 GB, free: 5.055 MB / 426.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.0001065/0.7537, allocations: 109.9 kB / 0.6144 GB, free: 4.941 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/0.7538, allocations: 23.89 kB / 0.6145 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008428/0.7546, allocations: 0.4946 MB / 0.615 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.7546, allocations: 4 kB / 0.615 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7546, allocations: 0 / 0.615 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7546, allocations: 0 / 0.615 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.7551, allocations: 349.8 kB / 0.6153 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.7551, allocations: 0 / 0.6153 GB, free: 4.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008454/0.7559, allocations: 159.8 kB / 0.6154 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.7559, allocations: 0 / 0.6154 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.756, allocations: 7.984 kB / 0.6155 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003011/0.759, allocations: 5.598 MB / 0.6209 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.759, allocations: 0 / 0.6209 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005662/0.7596, allocations: 459.2 kB / 0.6214 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006998/0.7603, allocations: 0.8238 MB / 0.6222 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/0.7604, allocations: 100.8 kB / 0.6223 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.454e-05/0.7604, allocations: 0 / 0.6223 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.7606, allocations: 15.98 kB / 0.6223 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.7607, allocations: 19.97 kB / 0.6223 GB, free: 12.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-05/0.7607, allocations: 8 kB / 0.6223 GB, free: 12.6 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.234e-05/0.7608, allocations: 115.2 kB / 0.6224 GB, free: 12.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001141/0.762, allocations: 175.4 kB / 0.6226 GB, free: 12.31 MB / 442.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.0004189/0.7624, allocations: 260.9 kB / 0.6228 GB, free: 12.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.7636, allocations: 435.6 kB / 0.6232 GB, free: 11.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.7637, allocations: 4 kB / 0.6232 GB, free: 11.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.7647, allocations: 303.6 kB / 0.6235 GB, free: 11.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.7649, allocations: 22.72 kB / 0.6236 GB, free: 11.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.7659, allocations: 0.5561 MB / 0.6241 GB, free: 10.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004959/0.7665, allocations: 0.9035 MB / 0.625 GB, free: 9.785 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/0.7665, allocations: 0 / 0.625 GB, free: 9.785 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat