Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.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/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 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(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",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.01095/0.01095, allocations: 182.8 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.472/2.472, allocations: 221.4 MB / 229.3 MB, free: 3.027 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.001656/0.001656, allocations: 97.52 kB / 280.1 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.02157/0.02157, allocations: 1.566 MB / 332.5 MB, free: 12.97 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 1.321/1.321, allocations: 90.04 MB / 473.6 MB, free: 7.32 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.6982/2.02, allocations: 76.21 MB / 0.537 GB, free: 14.28 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/2.336, allocations: 69.35 MB / 0.6047 GB, free: 8.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.05/6.386, allocations: 0.7536 GB / 1.358 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004558/6.387, allocations: 82.91 kB / 1.358 GB, free: 162.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 2.924/9.311, allocations: 444.6 MB / 1.793 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.444e-05/9.311, allocations: 10.72 kB / 1.793 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/9.314, allocations: 216.1 kB / 1.793 GB, free: 104.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/9.315, allocations: 493.8 kB / 1.793 GB, free: 104.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003928/9.316, allocations: 162.3 kB / 1.793 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/9.316, allocations: 46.47 kB / 1.793 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001886/9.318, allocations: 0.497 MB / 1.794 GB, free: 104.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/9.32, allocations: 0.5369 MB / 1.794 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/9.32, allocations: 3 kB / 1.794 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.579e-05/9.32, allocations: 0 / 1.794 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.662e-05/9.32, allocations: 19.72 kB / 1.794 GB, free: 104.4 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006284/9.326, allocations: 2.482 MB / 1.797 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/9.327, allocations: 333.5 kB / 1.797 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007278/9.328, allocations: 282.4 kB / 1.798 GB, free: 103.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/9.329, allocations: 0.6004 MB / 1.798 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.686e-05/9.329, allocations: 38.88 kB / 1.798 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=62): time 7.644e-06/9.329, allocations: 6.969 kB / 1.798 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62): time 0.004869/9.334, allocations: 0.9331 MB / 1.799 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/9.334, allocations: 58.78 kB / 1.799 GB, free: 102.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000723/9.335, allocations: 294.6 kB / 1.799 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/9.335, allocations: 25.7 kB / 1.799 GB, free: 102.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/9.335, allocations: 261.8 kB / 1.8 GB, free: 102.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00035/9.336, allocations: 200.1 kB / 1.8 GB, free: 102 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/9.336, allocations: 3.844 kB / 1.8 GB, free: 102 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002257/9.336, allocations: 365.1 kB / 1.8 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005094/9.337, allocations: 194.4 kB / 1.8 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005577/9.337, allocations: 203.7 kB / 1.801 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/9.339, allocations: 255.6 kB / 1.801 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/9.339, allocations: 0 / 1.801 GB, free: 101.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00433/9.343, allocations: 0.9554 MB / 1.802 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/9.343, allocations: 5.219 kB / 1.802 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/9.343, allocations: 3.906 kB / 1.802 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007762/9.344, allocations: 160.7 kB / 1.802 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/9.345, allocations: 152.2 kB / 1.802 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006161/9.352, allocations: 4.299 MB / 1.806 GB, free: 98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/9.353, allocations: 72.61 kB / 1.806 GB, free: 97.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/9.353, allocations: 50.66 kB / 1.806 GB, free: 97.99 MB / 0.6042 GB 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003174/9.353, allocations: 117 kB / 1.806 GB, free: 97.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/9.354, allocations: 51.66 kB / 1.807 GB, free: 97.85 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007493/9.361, allocations: 1.849 MB / 1.808 GB, free: 97.75 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/9.361, allocations: 3.75 kB / 1.808 GB, free: 97.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-05/9.361, allocations: 3.875 kB / 1.808 GB, free: 97.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/9.361, allocations: 3.938 kB / 1.808 GB, free: 97.75 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006815/9.368, allocations: 1.862 MB / 1.81 GB, free: 97.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/9.368, allocations: 0 / 1.81 GB, free: 97.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/9.37, allocations: 157.5 kB / 1.81 GB, free: 97.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007262/9.37, allocations: 157.5 kB / 1.81 GB, free: 97.37 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/9.37, allocations: 26.47 kB / 1.811 GB, free: 97.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005631/9.376, allocations: 4.313 MB / 1.815 GB, free: 93.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.293e-06/9.376, allocations: 0 / 1.815 GB, free: 93.78 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005387/9.382, allocations: 1.405 MB / 1.816 GB, free: 93.51 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007338/9.389, allocations: 2.198 MB / 1.818 GB, free: 92.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000748/9.39, allocations: 198.1 kB / 1.818 GB, free: 92.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/9.39, allocations: 3.938 kB / 1.818 GB, free: 92.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000903/9.391, allocations: 50.64 kB / 1.818 GB, free: 92.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/9.391, allocations: 50.56 kB / 1.819 GB, free: 92.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/9.391, allocations: 47.47 kB / 1.819 GB, free: 92.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004853/9.392, allocations: 235.1 kB / 1.819 GB, free: 92.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005327/9.397, allocations: 0.6265 MB / 1.819 GB, free: 92.6 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (crossFlowNTU.h_out_A,crossFlowNTU.h_out_B,flowResistanceA.inlet.m_flow,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,88.9%) 1,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005072/9.402, allocations: 1.524 MB / 1.821 GB, free: 92.34 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004079/9.407, allocations: 1.06 MB / 1.822 GB, free: 91.96 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/9.407, allocations: 0 / 1.822 GB, free: 91.96 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002429/9.409, allocations: 0.846 MB / 1.823 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001629/9.411, allocations: 124 kB / 1.823 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006407/9.417, allocations: 1.241 MB / 1.824 GB, free: 91.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002099/9.419, allocations: 1.114 MB / 1.825 GB, free: 90.59 MB / 0.6042 GB Notification: Performance of SimCode: time 1.823e-06/9.419, allocations: 3.938 kB / 1.825 GB, free: 90.59 MB / 0.6042 GB (rm -f ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1)