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_overall_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_overall_KC,fileNamePrefix="ModelicaTest_3_2_3_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_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001242/0.001243, allocations: 187.9 kB / 7.802 MB, free: 2.504 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.484/1.484, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.001141/0.001141, allocations: 83.66 kB / 261.4 MB, free: 13.61 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.2113/0.2113, allocations: 43.48 MB / 352.8 MB, free: 2.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2266/0.4379, allocations: 65 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.7689, allocations: 58.84 MB / 476.7 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.9013, allocations: 96.07 MB / 0.5593 GB, free: 2.832 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.9016, allocations: 91.33 kB / 0.5594 GB, free: 2.746 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.04433/0.946, allocations: 14.55 MB / 0.5736 GB, free: 4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.946, allocations: 8 kB / 0.5736 GB, free: 3.992 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.9462, allocations: 43.44 kB / 0.5737 GB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.9467, allocations: 290.2 kB / 0.5739 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.9467, allocations: 15.94 kB / 0.574 GB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.024e-05/0.9468, allocations: 20 kB / 0.574 GB, free: 3.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008312/0.9477, allocations: 0.4975 MB / 0.5745 GB, free: 3.086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008287/0.9485, allocations: 487.2 kB / 0.5749 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.9485, allocations: 0 / 0.5749 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.9486, allocations: 0 / 0.5749 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.9486, allocations: 32.98 kB / 0.575 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002002/0.9506, allocations: 1.073 MB / 0.576 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006746/0.9513, allocations: 453.1 kB / 0.5764 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.9516, allocations: 145.2 kB / 0.5766 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/0.9516, allocations: 12.2 kB / 0.5766 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.9517, allocations: 34.8 kB / 0.5766 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of pre-optimization done (n=28): time 2.575e-06/0.9517, allocations: 0 / 0.5766 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007452/0.9524, allocations: 351.2 kB / 0.577 GB, free: 468 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.9525, allocations: 55.41 kB / 0.577 GB, free: 400 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.9526, allocations: 129.4 kB / 0.5771 GB, free: 264 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.9527, allocations: 25.7 kB / 0.5772 GB, free: 232 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.9528, allocations: 200.1 kB / 0.5773 GB, free: 28 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.953, allocations: 90.69 kB / 0.5774 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/0.953, allocations: 0 / 0.5774 GB, free: 15.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.9532, allocations: 330.8 kB / 0.5777 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.9534, allocations: 131.8 kB / 0.5779 GB, free: 15.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.9536, allocations: 131.9 kB / 0.578 GB, free: 15.34 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.9538, allocations: 143.8 kB / 0.5781 GB, free: 15.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9538, allocations: 0 / 0.5781 GB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005841/0.9544, allocations: 353.9 kB / 0.5785 GB, free: 14.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.9544, allocations: 8 kB / 0.5785 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.9545, allocations: 0 / 0.5785 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.9545, allocations: 0 / 0.5785 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009508/0.9554, allocations: 163.8 kB / 0.5786 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/0.9592, allocations: 5.598 MB / 0.5841 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.9594, allocations: 23.77 kB / 0.5841 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.9594, allocations: 15.98 kB / 0.5841 GB, free: 8.836 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.0001224/0.9595, allocations: 101.1 kB / 0.5842 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.9596, allocations: 23.81 kB / 0.5843 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008862/0.9605, allocations: 0.4945 MB / 0.5847 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.9605, allocations: 7.938 kB / 0.5848 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.9605, allocations: 0 / 0.5848 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.9606, allocations: 0 / 0.5848 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004856/0.961, allocations: 345.8 kB / 0.5851 GB, free: 7.828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.9611, allocations: 4 kB / 0.5851 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008193/0.9619, allocations: 167.8 kB / 0.5852 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.9619, allocations: 0 / 0.5852 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.9619, allocations: 4 kB / 0.5852 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003605/0.9655, allocations: 5.598 MB / 0.5907 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9656, allocations: 0 / 0.5907 GB, free: 1.848 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006636/0.9662, allocations: 455.3 kB / 0.5912 GB, free: 1.387 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007885/0.967, allocations: 0.8282 MB / 0.592 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-05/0.9671, allocations: 92.86 kB / 0.592 GB, free: 440 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.9672, allocations: 4 kB / 0.5921 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001998/0.9674, allocations: 11.98 kB / 0.5921 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.9675, allocations: 19.97 kB / 0.5921 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.059e-05/0.9675, allocations: 15.98 kB / 0.5921 GB, free: 388 kB / 426.7 MB Notification: Performance of sort global known variables: time 7.876e-05/0.9676, allocations: 112 kB / 0.5922 GB, free: 276 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001264/0.9689, allocations: 183.4 kB / 0.5924 GB, free: 92 kB / 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.0006551/0.9695, allocations: 260.8 kB / 0.5926 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.9709, allocations: 427.6 kB / 0.593 GB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9709, allocations: 4 kB / 0.593 GB, free: 15.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.9719, allocations: 303.6 kB / 0.5933 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.9722, allocations: 20.58 kB / 0.5933 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.9734, allocations: 0.5598 MB / 0.5939 GB, free: 14.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/0.974, allocations: 0.8997 MB / 0.5948 GB, free: 13.57 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.974, allocations: 0 / 0.5948 GB, free: 13.57 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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_overall_KC_res.mat does not exist to compare? outputFormat=mat