Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.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.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.ConvectivePipe_serial,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial",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.001876/0.001876, allocations: 183.2 kB / 7.465 MB, free: 2.5 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.9578/0.9578, 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.0007468/0.0007468, allocations: 97.3 kB / 261.1 MB, free: 13.54 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.4902/0.4902, allocations: 90.35 MB / 399.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1044/0.5946, allocations: 72.38 MB / 471.7 MB, free: 3.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.8084, allocations: 66.26 MB / 0.5254 GB, free: 28.77 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4061/1.214, allocations: 353.3 MB / 0.8704 GB, free: 14.72 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000194/1.215, allocations: 77.83 kB / 0.8705 GB, free: 14.68 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 158 * Number of variables: 158 Notification: Performance of Generate backend data structure: time 0.3694/1.584, allocations: 132.8 MB / 1 GB, free: 139.2 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/1.584, allocations: 8.5 kB / 1 GB, free: 139.2 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/1.584, allocations: 98.89 kB / 1 GB, free: 139.1 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004717/1.585, allocations: 452.4 kB / 1.001 GB, free: 138.6 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/1.585, allocations: 24 kB / 1.001 GB, free: 138.6 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.566e-05/1.585, allocations: 36 kB / 1.001 GB, free: 138.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007127/1.586, allocations: 0.5688 MB / 1.001 GB, free: 138 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/1.586, allocations: 0.5565 MB / 1.002 GB, free: 137.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.586, allocations: 3.938 kB / 1.002 GB, free: 137.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/1.586, allocations: 0 / 1.002 GB, free: 137.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/1.586, allocations: 16 kB / 1.002 GB, free: 137.4 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/1.589, allocations: 2.902 MB / 1.005 GB, free: 134.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/1.589, allocations: 333.9 kB / 1.005 GB, free: 133.9 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/1.59, allocations: 268.1 kB / 1.005 GB, free: 133.6 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/1.59, allocations: 0.6772 MB / 1.006 GB, free: 132.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.364e-05/1.59, allocations: 43.22 kB / 1.006 GB, free: 132.7 MB / 0.573 GB Notification: Performance of pre-optimization done (n=69): time 1.743e-06/1.59, allocations: 0 / 1.006 GB, free: 132.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=69): time 0.004885/1.595, allocations: 1.247 MB / 1.007 GB, free: 131.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.959e-05/1.595, allocations: 93.77 kB / 1.007 GB, free: 131.4 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/1.595, allocations: 321.1 kB / 1.008 GB, free: 131 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/1.595, allocations: 29.69 kB / 1.008 GB, free: 131 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/1.595, allocations: 252.3 kB / 1.008 GB, free: 130.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 9.242e-05/1.595, allocations: 224.5 kB / 1.008 GB, free: 130.5 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/1.595, allocations: 0 / 1.008 GB, free: 130.5 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/1.595, allocations: 374.8 kB / 1.008 GB, free: 130.2 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/1.596, allocations: 189.5 kB / 1.009 GB, free: 130 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/1.596, allocations: 289.7 kB / 1.009 GB, free: 129.7 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/1.597, allocations: 239.1 kB / 1.009 GB, free: 129.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/1.597, allocations: 0 / 1.009 GB, free: 129.4 MB / 0.573 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00484/1.602, allocations: 1.317 MB / 1.01 GB, free: 128.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/1.602, allocations: 7.938 kB / 1.01 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.602, allocations: 0 / 1.01 GB, free: 128.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004577/1.606, allocations: 0.9197 MB / 1.011 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/1.606, allocations: 103.8 kB / 1.011 GB, free: 127.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/1.608, allocations: 2.779 MB / 1.014 GB, free: 124.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/1.609, allocations: 59.64 kB / 1.014 GB, free: 124.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/1.609, allocations: 32.05 kB / 1.014 GB, free: 124 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 2 (thermalConvection1.turb_flag,thermalConvection.turb_flag) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 8.709e-05/1.609, allocations: 112.8 kB / 1.014 GB, free: 123.9 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/1.609, allocations: 59.25 kB / 1.014 GB, free: 123.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004975/1.614, allocations: 1.402 MB / 1.016 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.614, allocations: 11.91 kB / 1.016 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/1.614, allocations: 4 kB / 1.016 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/1.614, allocations: 7.984 kB / 1.016 GB, free: 122.4 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005509/1.619, allocations: 2.032 MB / 1.018 GB, free: 120.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/1.619, allocations: 0 / 1.018 GB, free: 120.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/1.62, allocations: 83.89 kB / 1.018 GB, free: 120.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004601/1.624, allocations: 0.9351 MB / 1.019 GB, free: 119.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.862e-05/1.624, allocations: 15.98 kB / 1.019 GB, free: 119.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001689/1.626, allocations: 2.787 MB / 1.021 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.626, allocations: 0 / 1.021 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005067/1.631, allocations: 1.793 MB / 1.023 GB, free: 114.5 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00544/1.637, allocations: 2.508 MB / 1.026 GB, free: 111.9 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/1.637, allocations: 140.2 kB / 1.026 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/1.637, allocations: 8 kB / 1.026 GB, free: 111.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003461/1.637, allocations: 19.89 kB / 1.026 GB, free: 111.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.045e-05/1.637, allocations: 44.58 kB / 1.026 GB, free: 111.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/1.637, allocations: 20 kB / 1.026 GB, free: 111.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0001685/1.637, allocations: 247.2 kB / 1.026 GB, free: 111.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001294/1.639, allocations: 383.4 kB / 1.026 GB, free: 111.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (heatCapacitor.T,thermalConvection1.inlet.m_flow,heatCapacitor1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 4} * Non-linear torn systems: 2 {1 11,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005405/1.639, allocations: 0.5413 MB / 1.027 GB, free: 110.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0008961/1.64, allocations: 0.7052 MB / 1.028 GB, free: 109.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/1.64, allocations: 448 / 1.028 GB, free: 109.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005251/1.641, allocations: 461.8 kB / 1.028 GB, free: 109.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/1.641, allocations: 143.4 kB / 1.028 GB, free: 109.2 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/1.643, allocations: 0.9776 MB / 1.029 GB, free: 108.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/1.643, allocations: 0.9843 MB / 1.03 GB, free: 107.2 MB / 0.573 GB Notification: Performance of SimCode: time 2.6e-07/1.643, allocations: 0 / 1.03 GB, free: 107.2 MB / 0.573 GB (rm -f ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; mkfifo ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe ; head -c 1048576 < ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe >> ../files/ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial_res.mat --tempDir=temp_ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial_fmu --startTime=0 --stopTime=1000 --timeout=1200 --tolerance=1e-06 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_ConvectivePipe_serial.fmu > ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.ConvectivePipe_serial.pipe 2>&1)