Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) 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) 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) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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/Buildings 10.0.0-master/package.mo): time 2.069/2.069, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 189.2 kB / 490.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 221.3 MB / 0.7863 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 88.66 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7493/0.7504, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/1.045, allocations: 143 MB / 1.212 GB, free: 40.06 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.43/6.475, allocations: 1.869 GB / 3.081 GB, free: 431.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/6.475, allocations: 91.38 kB / 3.081 GB, free: 431.2 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 3.999/10.47, allocations: 1.082 GB / 4.163 GB, free: 226.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.648e-05/10.47, allocations: 8 kB / 4.163 GB, free: 226.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/10.48, allocations: 210.3 kB / 4.163 GB, free: 226.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005338/10.48, allocations: 1.429 MB / 4.164 GB, free: 224.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/10.48, allocations: 16 kB / 4.164 GB, free: 224.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002955/10.48, allocations: 44 kB / 4.164 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001505/10.48, allocations: 0.7209 MB / 4.165 GB, free: 224.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/10.48, allocations: 0.8643 MB / 4.166 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/10.48, allocations: 7.875 kB / 4.166 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.583e-05/10.48, allocations: 4 kB / 4.166 GB, free: 223.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/10.48, allocations: 12 kB / 4.166 GB, free: 223.1 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006154/10.49, allocations: 4.725 MB / 4.171 GB, free: 218.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007367/10.49, allocations: 0.5151 MB / 4.171 GB, free: 217.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004616/10.49, allocations: 445.7 kB / 4.172 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/10.49, allocations: 194.5 kB / 4.172 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003737/10.49, allocations: 310.3 kB / 4.172 GB, free: 216.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=35): time 3.045e-06/10.49, allocations: 0 / 4.172 GB, free: 216.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=35): time 0.002459/10.5, allocations: 0.9609 MB / 4.173 GB, free: 215.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/10.5, allocations: 88.98 kB / 4.173 GB, free: 215.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/10.5, allocations: 0.9139 MB / 4.174 GB, free: 214.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.964e-05/10.5, allocations: 33.7 kB / 4.174 GB, free: 214.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/10.5, allocations: 352.4 kB / 4.174 GB, free: 214.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/10.5, allocations: 126.2 kB / 4.174 GB, free: 214.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/10.5, allocations: 0 / 4.174 GB, free: 214.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001047/10.5, allocations: 326 kB / 4.175 GB, free: 213.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/10.5, allocations: 224.9 kB / 4.175 GB, free: 213.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/10.5, allocations: 0.5537 MB / 4.175 GB, free: 212.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/10.5, allocations: 318.5 kB / 4.176 GB, free: 212.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/10.5, allocations: 0 / 4.176 GB, free: 212.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002143/10.5, allocations: 1.098 MB / 4.177 GB, free: 211.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008357/10.5, allocations: 2.1 MB / 4.179 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.499e-05/10.5, allocations: 4 kB / 4.179 GB, free: 209.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007852/10.5, allocations: 362.5 kB / 4.179 GB, free: 208.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/10.5, allocations: 67.84 kB / 4.179 GB, free: 208.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/10.51, allocations: 1.428 MB / 4.181 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/10.51, allocations: 119.4 kB / 4.181 GB, free: 207.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/10.51, allocations: 24 kB / 4.181 GB, free: 207.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/10.51, allocations: 5.094 kB / 4.181 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001414/10.51, allocations: 0.7659 MB / 4.182 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/10.51, allocations: 4 kB / 4.182 GB, free: 206.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/10.51, allocations: 300.9 kB / 4.182 GB, free: 206.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/10.51, allocations: 67.91 kB / 4.182 GB, free: 206 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004712/10.51, allocations: 3.474 MB / 4.185 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/10.52, allocations: 103.6 kB / 4.185 GB, free: 202.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.969e-05/10.52, allocations: 27.94 kB / 4.185 GB, free: 202.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002689/10.52, allocations: 129 kB / 4.186 GB, free: 202.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/10.52, allocations: 102.7 kB / 4.186 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/10.52, allocations: 0.8468 MB / 4.187 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/10.52, allocations: 4 kB / 4.187 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/10.52, allocations: 0 / 4.187 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/10.52, allocations: 3.906 kB / 4.187 GB, free: 201.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/10.52, allocations: 1.797 MB / 4.188 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/10.52, allocations: 7.984 kB / 4.188 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001271/10.52, allocations: 27.98 kB / 4.188 GB, free: 199.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005918/10.52, allocations: 315.2 kB / 4.189 GB, free: 199 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/10.52, allocations: 11.98 kB / 4.189 GB, free: 199 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/10.52, allocations: 1.26 MB / 4.19 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/10.52, allocations: 4 kB / 4.19 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001401/10.52, allocations: 1.041 MB / 4.191 GB, free: 196.6 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001682/10.53, allocations: 1.479 MB / 4.192 GB, free: 195 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005382/10.53, allocations: 231.8 kB / 4.193 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/10.53, allocations: 7.984 kB / 4.193 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000742/10.53, allocations: 87.66 kB / 4.193 GB, free: 194.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/10.53, allocations: 23.97 kB / 4.193 GB, free: 194.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/10.53, allocations: 15.98 kB / 4.193 GB, free: 194.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0009724/10.53, allocations: 0.7139 MB / 4.193 GB, free: 193.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003588/10.53, allocations: 0.7883 MB / 4.194 GB, free: 193.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {11 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001943/10.53, allocations: 1.215 MB / 4.195 GB, free: 191.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002575/10.54, allocations: 1.204 MB / 4.197 GB, free: 190.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/10.54, allocations: 0 / 4.197 GB, free: 190.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005672/10.54, allocations: 312.4 kB / 4.197 GB, free: 190.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003113/10.54, allocations: 0.5538 MB / 4.197 GB, free: 189.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002754/10.54, allocations: 1.487 MB / 4.199 GB, free: 188.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007832/10.54, allocations: 1.3 MB / 4.2 GB, free: 186.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.703e-06/10.54, allocations: 0 / 4.2 GB, free: 186.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)