Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_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.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow,fileNamePrefix="ThermofluidStream_OM_adaptions_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 3.2.3+maint.om/package.mo): time 0.001616/0.001616, allocations: 185.1 kB / 7.459 MB, free: 2.516 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.9069/0.9069, allocations: 205.2 MB / 213.1 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.0007474/0.0007475, allocations: 92.69 kB / 261.1 MB, free: 13.61 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.4876/0.4876, allocations: 90.35 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.1022/0.5897, allocations: 72.39 MB / 471.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.8058, allocations: 66.25 MB / 0.5254 GB, free: 28.92 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9998/1.806, allocations: 0.7545 GB / 1.28 GB, free: 87.44 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00021/1.806, allocations: 76.45 kB / 1.28 GB, free: 87.4 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.228/3.034, allocations: 493 MB / 1.761 GB, free: 82.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/3.034, allocations: 8.5 kB / 1.761 GB, free: 82.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/3.035, allocations: 218.6 kB / 1.762 GB, free: 82.18 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/3.036, allocations: 492.8 kB / 1.762 GB, free: 81.67 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/3.036, allocations: 163.8 kB / 1.762 GB, free: 81.49 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/3.036, allocations: 40 kB / 1.762 GB, free: 81.45 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007438/3.037, allocations: 0.4953 MB / 1.763 GB, free: 80.96 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007695/3.038, allocations: 0.535 MB / 1.763 GB, free: 80.41 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/3.038, allocations: 11.8 kB / 1.763 GB, free: 80.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.526e-05/3.038, allocations: 3.438 kB / 1.763 GB, free: 80.4 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/3.038, allocations: 16 kB / 1.763 GB, free: 80.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/3.04, allocations: 2.496 MB / 1.766 GB, free: 77.77 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/3.041, allocations: 326.9 kB / 1.766 GB, free: 77.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/3.041, allocations: 278.3 kB / 1.766 GB, free: 77.17 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003463/3.041, allocations: 0.503 MB / 1.767 GB, free: 76.59 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/3.041, allocations: 39.06 kB / 1.767 GB, free: 76.54 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=62): time 2.014e-06/3.041, allocations: 0 / 1.767 GB, free: 76.54 MB / 0.5886 GB Notification: Performance of matching and sorting (n=62): time 0.002467/3.044, allocations: 0.9488 MB / 1.768 GB, free: 75.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/3.044, allocations: 59.91 kB / 1.768 GB, free: 75.53 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/3.044, allocations: 300.9 kB / 1.768 GB, free: 75.23 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/3.044, allocations: 25.7 kB / 1.768 GB, free: 75.2 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.934e-05/3.044, allocations: 244.5 kB / 1.768 GB, free: 74.95 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/3.044, allocations: 208.9 kB / 1.769 GB, free: 74.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/3.045, allocations: 3.938 kB / 1.769 GB, free: 74.74 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.516e-05/3.045, allocations: 366.7 kB / 1.769 GB, free: 74.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/3.045, allocations: 193.3 kB / 1.769 GB, free: 74.19 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/3.045, allocations: 200.6 kB / 1.769 GB, free: 73.99 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008943/3.046, allocations: 278.3 kB / 1.77 GB, free: 73.72 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/3.046, allocations: 3.938 kB / 1.77 GB, free: 73.72 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002306/3.048, allocations: 0.9807 MB / 1.771 GB, free: 72.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/3.048, allocations: 7.984 kB / 1.771 GB, free: 72.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/3.048, allocations: 0 / 1.771 GB, free: 72.74 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004187/3.049, allocations: 150.4 kB / 1.771 GB, free: 72.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006721/3.049, allocations: 151.5 kB / 1.771 GB, free: 72.45 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/3.053, allocations: 4.308 MB / 1.775 GB, free: 67.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004315/3.053, allocations: 71.47 kB / 1.775 GB, free: 67.76 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.683e-05/3.053, allocations: 51.98 kB / 1.775 GB, free: 67.71 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 (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.0001253/3.053, allocations: 116 kB / 1.775 GB, free: 67.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.651e-05/3.053, allocations: 51.34 kB / 1.775 GB, free: 67.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003399/3.057, allocations: 1.326 MB / 1.777 GB, free: 66.29 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/3.057, allocations: 8 kB / 1.777 GB, free: 66.29 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/3.057, allocations: 4 kB / 1.777 GB, free: 66.28 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/3.057, allocations: 3.984 kB / 1.777 GB, free: 66.28 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003357/3.06, allocations: 1.897 MB / 1.779 GB, free: 64.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/3.06, allocations: 0 / 1.779 GB, free: 64.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007121/3.061, allocations: 163.4 kB / 1.779 GB, free: 64.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003493/3.061, allocations: 154.3 kB / 1.779 GB, free: 64.04 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-05/3.061, allocations: 19.98 kB / 1.779 GB, free: 64.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003001/3.064, allocations: 4.31 MB / 1.783 GB, free: 59.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/3.064, allocations: 0 / 1.783 GB, free: 59.39 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002707/3.067, allocations: 1.422 MB / 1.784 GB, free: 57.95 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003468/3.071, allocations: 2.268 MB / 1.787 GB, free: 55.66 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/3.071, allocations: 203.9 kB / 1.787 GB, free: 55.45 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.585e-05/3.071, allocations: 11.91 kB / 1.787 GB, free: 55.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/3.071, allocations: 51.11 kB / 1.787 GB, free: 55.39 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/3.071, allocations: 48.58 kB / 1.787 GB, free: 55.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-05/3.071, allocations: 55.36 kB / 1.787 GB, free: 55.29 MB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001588/3.072, allocations: 235.2 kB / 1.787 GB, free: 55.06 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002526/3.074, allocations: 0.8815 MB / 1.788 GB, free: 54.18 MB / 0.5886 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.002801/3.077, allocations: 1.946 MB / 1.79 GB, free: 52.35 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001493/3.078, allocations: 1.054 MB / 1.791 GB, free: 51.27 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/3.078, allocations: 0 / 1.791 GB, free: 51.27 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/3.08, allocations: 0.8369 MB / 1.792 GB, free: 50.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/3.08, allocations: 121.7 kB / 1.792 GB, free: 50.29 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/3.082, allocations: 1.2 MB / 1.793 GB, free: 49.19 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007972/3.083, allocations: 1.087 MB / 1.794 GB, free: 48.07 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/3.083, allocations: 0 / 1.794 GB, free: 48.07 MB / 0.5886 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow_fmu --startTime=0 --stopTime=100 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_HeatExchangers_Tests_CrossFlowNTU_zeroMassFlow.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.HeatExchangers.Tests.CrossFlowNTU_zeroMassFlow.pipe 2>&1)