Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.ParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.248/2.248, allocations: 390.4 MB / 397.7 MB, free: 11.23 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.001419/0.001419, allocations: 182.6 kB / 490.8 MB, free: 1.898 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.638/1.638, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.001358/0.001358, allocations: 94.84 kB / 0.9264 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.9124/0.9138, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/1.312, allocations: 143 MB / 1.212 GB, free: 40 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.744/7.056, allocations: 1.869 GB / 3.081 GB, free: 434.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/7.057, allocations: 88.03 kB / 3.081 GB, free: 434.8 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 6.191/13.25, allocations: 1.805 GB / 4.886 GB, free: 366.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/13.25, allocations: 7.844 kB / 4.886 GB, free: 366.5 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001245/13.25, allocations: 197.9 kB / 4.886 GB, free: 366.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004566/13.25, allocations: 1.37 MB / 4.887 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/13.25, allocations: 15.69 kB / 4.888 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/13.25, allocations: 37.31 kB / 4.888 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001087/13.26, allocations: 0.5098 MB / 4.888 GB, free: 366.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/13.26, allocations: 0.7163 MB / 4.889 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/13.26, allocations: 3.875 kB / 4.889 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.043e-05/13.26, allocations: 6.828 kB / 4.889 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/13.26, allocations: 12.91 kB / 4.889 GB, free: 365.9 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/13.26, allocations: 4.152 MB / 4.893 GB, free: 363.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/13.26, allocations: 482.3 kB / 4.893 GB, free: 363 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005189/13.26, allocations: 339.2 kB / 4.894 GB, free: 363 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003146/13.26, allocations: 201 kB / 4.894 GB, free: 362.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003915/13.26, allocations: 289.5 kB / 4.894 GB, free: 362.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.384e-06/13.26, allocations: 0 / 4.894 GB, free: 362.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.00201/13.27, allocations: 0.8185 MB / 4.895 GB, free: 362.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/13.27, allocations: 84.25 kB / 4.895 GB, free: 362.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/13.27, allocations: 0.8771 MB / 4.896 GB, free: 362.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/13.27, allocations: 28.7 kB / 4.896 GB, free: 362.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002707/13.27, allocations: 333.8 kB / 4.896 GB, free: 362.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.661e-05/13.27, allocations: 112.2 kB / 4.896 GB, free: 362.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.278e-05/13.27, allocations: 0 / 4.896 GB, free: 362.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.242e-05/13.27, allocations: 325.8 kB / 4.897 GB, free: 361.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/13.27, allocations: 208.9 kB / 4.897 GB, free: 361.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005049/13.27, allocations: 0.53 MB / 4.897 GB, free: 361.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004841/13.27, allocations: 294.6 kB / 4.898 GB, free: 361.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/13.27, allocations: 3.594 kB / 4.898 GB, free: 361.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001896/13.27, allocations: 0.9455 MB / 4.898 GB, free: 361.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004079/13.27, allocations: 2.098 MB / 4.901 GB, free: 359.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/13.27, allocations: 5.688 kB / 4.901 GB, free: 359.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/13.27, allocations: 249.4 kB / 4.901 GB, free: 359.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/13.27, allocations: 75.72 kB / 4.901 GB, free: 359.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/13.27, allocations: 1.179 MB / 4.902 GB, free: 358.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/13.27, allocations: 100.3 kB / 4.902 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/13.27, allocations: 27.34 kB / 4.902 GB, free: 358.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/13.27, allocations: 3.531 kB / 4.902 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/13.28, allocations: 0.645 MB / 4.903 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/13.28, allocations: 6.781 kB / 4.903 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/13.28, allocations: 229.6 kB / 4.903 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/13.28, allocations: 73.17 kB / 4.903 GB, free: 358.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/13.28, allocations: 2.799 MB / 4.906 GB, free: 357.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/13.28, allocations: 94.83 kB / 4.906 GB, free: 357.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.678e-05/13.28, allocations: 25.03 kB / 4.906 GB, free: 357.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 (35): * Single equations (assignments): 33 * 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001738/13.28, allocations: 119.7 kB / 4.906 GB, free: 357.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/13.28, allocations: 97.23 kB / 4.906 GB, free: 357.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/13.28, allocations: 0.7157 MB / 4.907 GB, free: 357 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/13.28, allocations: 3.75 kB / 4.907 GB, free: 357 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/13.28, allocations: 4.844 kB / 4.907 GB, free: 357 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/13.28, allocations: 0 / 4.907 GB, free: 357 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/13.28, allocations: 1.613 MB / 4.908 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/13.28, allocations: 2.344 kB / 4.908 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/13.28, allocations: 33.3 kB / 4.908 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003737/13.29, allocations: 209.6 kB / 4.909 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/13.29, allocations: 4.406 kB / 4.909 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008103/13.29, allocations: 1.047 MB / 4.91 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/13.29, allocations: 3.625 kB / 4.91 GB, free: 356 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00105/13.29, allocations: 0.9091 MB / 4.911 GB, free: 355.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001312/13.29, allocations: 1.334 MB / 4.912 GB, free: 354.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/13.29, allocations: 225.1 kB / 4.912 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/13.29, allocations: 6.609 kB / 4.912 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/13.29, allocations: 63.44 kB / 4.912 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/13.29, allocations: 29.17 kB / 4.912 GB, free: 354.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/13.29, allocations: 11.97 kB / 4.912 GB, free: 354.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0008406/13.29, allocations: 0.6857 MB / 4.913 GB, free: 354.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003099/13.29, allocations: 0.6835 MB / 4.914 GB, free: 354.6 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 (13): * Single equations (assignments): 10 * 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.001559/13.3, allocations: 1.042 MB / 4.915 GB, free: 354.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001792/13.3, allocations: 0.9733 MB / 4.915 GB, free: 354 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/13.3, allocations: 3.844 kB / 4.915 GB, free: 354 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0003642/13.3, allocations: 219.8 kB / 4.916 GB, free: 354 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/13.3, allocations: 0.5219 MB / 4.916 GB, free: 353.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/13.3, allocations: 1.411 MB / 4.918 GB, free: 353.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006331/13.3, allocations: 1.258 MB / 4.919 GB, free: 352.6 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/13.3, allocations: 7.5 kB / 4.919 GB, free: 352.6 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)