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_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00095/0.0009501, allocations: 183.9 kB / 8.524 MB, free: 1.832 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.188/1.188, allocations: 221.4 MB / 230.3 MB, free: 7.59 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.0008911/0.0008912, allocations: 86.59 kB / 281.2 MB, free: 5.43 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.1614/0.1614, allocations: 44.15 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1787/0.3401, allocations: 68.05 MB / 444.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.4365, allocations: 61.91 MB / 0.4942 GB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2559/0.6924, allocations: 92.16 MB / 0.5842 GB, free: 4.285 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.6927, allocations: 95.62 kB / 0.5843 GB, free: 4.23 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.02637/0.7191, allocations: 9.888 MB / 0.594 GB, free: 10.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.7191, allocations: 15.94 kB / 0.594 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.209e-05/0.7192, allocations: 39.52 kB / 0.594 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.7196, allocations: 283.1 kB / 0.5943 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.7196, allocations: 12 kB / 0.5943 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.705e-05/0.7197, allocations: 20 kB / 0.5943 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006359/0.7203, allocations: 0.4975 MB / 0.5948 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006483/0.721, allocations: 495.1 kB / 0.5953 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.721, allocations: 0 / 0.5953 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.721, allocations: 0 / 0.5953 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.353e-05/0.7211, allocations: 32.98 kB / 0.5953 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.7227, allocations: 1.069 MB / 0.5963 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.7233, allocations: 443.8 kB / 0.5968 GB, free: 7.246 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002016/0.7235, allocations: 145.2 kB / 0.5969 GB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.7236, allocations: 12.2 kB / 0.5969 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.7236, allocations: 34.8 kB / 0.5969 GB, free: 7.047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 1.442e-06/0.7236, allocations: 4 kB / 0.597 GB, free: 7.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006012/0.7242, allocations: 356.4 kB / 0.5973 GB, free: 6.691 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.763e-05/0.7242, allocations: 51.41 kB / 0.5973 GB, free: 6.629 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.7244, allocations: 131.4 kB / 0.5975 GB, free: 6.496 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.638e-05/0.7244, allocations: 29.7 kB / 0.5975 GB, free: 6.461 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.279e-05/0.7245, allocations: 196.1 kB / 0.5977 GB, free: 6.266 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/0.7246, allocations: 94.5 kB / 0.5978 GB, free: 6.172 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/0.7246, allocations: 0 / 0.5978 GB, free: 6.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.7247, allocations: 334.8 kB / 0.5981 GB, free: 5.836 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.7249, allocations: 123.9 kB / 0.5982 GB, free: 5.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.7251, allocations: 131.8 kB / 0.5983 GB, free: 5.586 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.7253, allocations: 147.8 kB / 0.5985 GB, free: 5.441 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7253, allocations: 0 / 0.5985 GB, free: 5.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005126/0.7258, allocations: 345.2 kB / 0.5988 GB, free: 5.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.7258, allocations: 8 kB / 0.5988 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.237e-06/0.7259, allocations: 3.938 kB / 0.5988 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7259, allocations: 0 / 0.5988 GB, free: 5.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008654/0.7267, allocations: 159.9 kB / 0.599 GB, free: 4.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00309/0.7298, allocations: 5.594 MB / 0.6044 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.73, allocations: 19.86 kB / 0.6044 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.7301, allocations: 24.08 kB / 0.6045 GB, free: 15.08 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 9.346e-05/0.7302, allocations: 109.9 kB / 0.6046 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.59e-05/0.7302, allocations: 19.8 kB / 0.6046 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008086/0.731, allocations: 0.4946 MB / 0.6051 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.7311, allocations: 7.906 kB / 0.6051 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.7311, allocations: 0 / 0.6051 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.7311, allocations: 0 / 0.6051 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.7315, allocations: 345.8 kB / 0.6054 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.7315, allocations: 4 kB / 0.6054 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/0.7323, allocations: 159.8 kB / 0.6056 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.7323, allocations: 0 / 0.6056 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/0.7323, allocations: 8 kB / 0.6056 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.7351, allocations: 5.598 MB / 0.611 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7351, allocations: 0 / 0.611 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005575/0.7357, allocations: 455 kB / 0.6115 GB, free: 7.625 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006643/0.7364, allocations: 0.8239 MB / 0.6123 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.419e-05/0.7364, allocations: 100.8 kB / 0.6124 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.319e-05/0.7365, allocations: 4.062 kB / 0.6124 GB, free: 6.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.7367, allocations: 11.98 kB / 0.6124 GB, free: 6.648 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.251e-05/0.7368, allocations: 19.97 kB / 0.6124 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.572e-05/0.7368, allocations: 15.98 kB / 0.6124 GB, free: 6.613 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.433e-05/0.7369, allocations: 109.1 kB / 0.6125 GB, free: 6.508 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009978/0.7379, allocations: 139.4 kB / 0.6127 GB, free: 6.371 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.0002872/0.7382, allocations: 181.2 kB / 0.6128 GB, free: 6.184 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001269/0.7394, allocations: 431.6 kB / 0.6133 GB, free: 5.762 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7395, allocations: 7.938 kB / 0.6133 GB, free: 5.754 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009867/0.7405, allocations: 303.6 kB / 0.6136 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.7407, allocations: 15.86 kB / 0.6136 GB, free: 5.441 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.7418, allocations: 0.5561 MB / 0.6141 GB, free: 4.863 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005441/0.7423, allocations: 0.8958 MB / 0.615 GB, free: 3.938 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7423, allocations: 0 / 0.615 GB, free: 3.938 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC_res.mat does not exist to compare? outputFormat=mat