Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.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/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/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(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_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 3.2.3+maint.om/package.mo): time 0.002082/0.002082, allocations: 178.6 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9351/0.9351, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0007541/0.0007541, allocations: 93.67 kB / 261.1 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.4945/0.4945, allocations: 90.35 MB / 399.4 MB, free: 12.26 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1148/0.6093, allocations: 72.39 MB / 471.8 MB, free: 3.695 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.8662, allocations: 66.25 MB / 0.5254 GB, free: 28.8 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/1.939, allocations: 0.755 GB / 1.28 GB, free: 86.29 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/1.939, allocations: 81.45 kB / 1.281 GB, free: 86.25 MB / 0.5886 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 1.299/3.239, allocations: 0.5125 GB / 1.793 GB, free: 50.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 2.689e-05/3.239, allocations: 11.97 kB / 1.793 GB, free: 50.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/3.24, allocations: 214.8 kB / 1.793 GB, free: 50.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/3.241, allocations: 0.4924 MB / 1.794 GB, free: 49.69 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001463/3.241, allocations: 159.8 kB / 1.794 GB, free: 49.51 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.476e-05/3.241, allocations: 43.91 kB / 1.794 GB, free: 49.47 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007335/3.242, allocations: 0.4992 MB / 1.794 GB, free: 48.97 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/3.242, allocations: 0.5312 MB / 1.795 GB, free: 48.43 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/3.242, allocations: 0 / 1.795 GB, free: 48.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/3.242, allocations: 0 / 1.795 GB, free: 48.43 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/3.242, allocations: 16 kB / 1.795 GB, free: 48.41 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/3.245, allocations: 2.658 MB / 1.798 GB, free: 45.54 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/3.245, allocations: 338.8 kB / 1.798 GB, free: 45.2 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/3.246, allocations: 282.6 kB / 1.798 GB, free: 44.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004187/3.246, allocations: 0.8136 MB / 1.799 GB, free: 43.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.336e-05/3.246, allocations: 43 kB / 1.799 GB, free: 43.89 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 1.893e-06/3.246, allocations: 0 / 1.799 GB, free: 43.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.002613/3.249, allocations: 0.9491 MB / 1.8 GB, free: 42.95 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/3.249, allocations: 59.91 kB / 1.8 GB, free: 42.88 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/3.249, allocations: 301.2 kB / 1.8 GB, free: 42.58 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.752e-05/3.249, allocations: 29.05 kB / 1.8 GB, free: 42.55 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/3.249, allocations: 248.4 kB / 1.801 GB, free: 42.3 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/3.249, allocations: 204.9 kB / 1.801 GB, free: 42.09 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.494e-05/3.249, allocations: 0 / 1.801 GB, free: 42.09 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.158e-05/3.249, allocations: 366.8 kB / 1.801 GB, free: 41.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/3.25, allocations: 193.3 kB / 1.801 GB, free: 41.54 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/3.25, allocations: 204.6 kB / 1.801 GB, free: 41.34 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/3.251, allocations: 293.6 kB / 1.802 GB, free: 41.05 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/3.251, allocations: 0 / 1.802 GB, free: 41.05 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.002589/3.254, allocations: 0.996 MB / 1.803 GB, free: 40.06 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/3.254, allocations: 4 kB / 1.803 GB, free: 40.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/3.254, allocations: 0 / 1.803 GB, free: 40.06 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004042/3.254, allocations: 153.9 kB / 1.803 GB, free: 39.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/3.255, allocations: 143.4 kB / 1.803 GB, free: 39.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/3.258, allocations: 4.314 MB / 1.807 GB, free: 35.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/3.258, allocations: 73.53 kB / 1.807 GB, free: 35.07 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/3.258, allocations: 39.98 kB / 1.807 GB, free: 35.03 MB / 0.5886 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 (56): * Single equations (assignments): 51 * 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.0001153/3.259, allocations: 113.8 kB / 1.807 GB, free: 34.92 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.999e-05/3.259, allocations: 59.33 kB / 1.807 GB, free: 34.86 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003593/3.262, allocations: 1.382 MB / 1.809 GB, free: 33.55 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/3.262, allocations: 11.98 kB / 1.809 GB, free: 33.54 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/3.262, allocations: 7.906 kB / 1.809 GB, free: 33.53 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/3.262, allocations: 3.984 kB / 1.809 GB, free: 33.52 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003728/3.266, allocations: 1.917 MB / 1.811 GB, free: 31.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/3.266, allocations: 3.906 kB / 1.811 GB, free: 31.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007278/3.267, allocations: 151.2 kB / 1.811 GB, free: 31.42 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003838/3.267, allocations: 162.3 kB / 1.811 GB, free: 31.26 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.608e-05/3.267, allocations: 19.98 kB / 1.811 GB, free: 31.24 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003015/3.27, allocations: 4.318 MB / 1.815 GB, free: 26.61 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/3.27, allocations: 7.938 kB / 1.815 GB, free: 26.6 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00296/3.273, allocations: 1.458 MB / 1.817 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00371/3.277, allocations: 2.354 MB / 1.819 GB, free: 22.7 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/3.277, allocations: 132.3 kB / 1.819 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/3.277, allocations: 7.891 kB / 1.819 GB, free: 22.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/3.278, allocations: 51.95 kB / 1.819 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/3.278, allocations: 44.59 kB / 1.819 GB, free: 22.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.639e-05/3.278, allocations: 47.97 kB / 1.819 GB, free: 22.41 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.000181/3.278, allocations: 239.2 kB / 1.819 GB, free: 22.17 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002738/3.281, allocations: 0.9322 MB / 1.82 GB, free: 21.24 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (counterFlowNTU.inletA.m_flow,counterFlowNTU.h_out_A,counterFlowNTU.h_out_B,flowResistanceB.inlet.m_flow) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * Array equations: 1 * 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 {(1,100.0%) 3,(3,88.9%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003036/3.284, allocations: 1.946 MB / 1.822 GB, free: 19.27 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001548/3.285, allocations: 1.077 MB / 1.823 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/3.285, allocations: 0 / 1.823 GB, free: 18.14 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/3.287, allocations: 0.8467 MB / 1.824 GB, free: 17.26 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006054/3.287, allocations: 109.5 kB / 1.824 GB, free: 17.15 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/3.289, allocations: 1.178 MB / 1.825 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007094/3.29, allocations: 1.075 MB / 1.826 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of SimCode: time 3.41e-07/3.29, allocations: 0 / 1.826 GB, free: 14.84 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CounterFlowNTU_zeroMassFlow.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CounterFlowNTU_zeroMassFlow.pipe 2>&1)