Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.044/2.044, allocations: 387.2 MB / 394.5 MB, free: 13.69 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.001345/0.001345, allocations: 177.3 kB / 487 MB, free: 5.375 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.457/1.457, allocations: 221.3 MB / 0.7819 GB, free: 1.441 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 101.8 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6317/0.6328, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.9215, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.482/5.403, allocations: 1.868 GB / 3.074 GB, free: 436.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/5.404, allocations: 92.11 kB / 3.074 GB, free: 436.4 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.209/11.61, allocations: 1.805 GB / 4.879 GB, free: 365.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/11.61, allocations: 7.75 kB / 4.879 GB, free: 365.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001339/11.61, allocations: 190.3 kB / 4.879 GB, free: 365.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/11.62, allocations: 1.379 MB / 4.88 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/11.62, allocations: 15.28 kB / 4.88 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/11.62, allocations: 41.06 kB / 4.88 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009448/11.62, allocations: 0.5049 MB / 4.881 GB, free: 365.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/11.62, allocations: 0.7153 MB / 4.882 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/11.62, allocations: 6.688 kB / 4.882 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.729e-05/11.62, allocations: 0 / 4.882 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.768e-05/11.62, allocations: 14.91 kB / 4.882 GB, free: 365.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004063/11.62, allocations: 4.142 MB / 4.886 GB, free: 362.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/11.63, allocations: 485.5 kB / 4.886 GB, free: 362.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/11.63, allocations: 345.9 kB / 4.886 GB, free: 362.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/11.63, allocations: 189.7 kB / 4.887 GB, free: 362.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003137/11.63, allocations: 296.2 kB / 4.887 GB, free: 362.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/11.63, allocations: 0 / 4.887 GB, free: 362.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=33): time 0.00188/11.63, allocations: 0.8175 MB / 4.888 GB, free: 362 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/11.63, allocations: 81.08 kB / 4.888 GB, free: 361.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001232/11.63, allocations: 0.8769 MB / 4.889 GB, free: 361.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/11.63, allocations: 25.7 kB / 4.889 GB, free: 361.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/11.63, allocations: 344.5 kB / 4.889 GB, free: 361.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/11.63, allocations: 109.5 kB / 4.889 GB, free: 361.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/11.63, allocations: 0 / 4.889 GB, free: 361.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.977e-05/11.63, allocations: 328.3 kB / 4.889 GB, free: 361.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002563/11.63, allocations: 207.5 kB / 4.89 GB, free: 361.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003931/11.63, allocations: 0.5265 MB / 4.89 GB, free: 360.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003447/11.63, allocations: 294.7 kB / 4.89 GB, free: 360.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/11.63, allocations: 7.281 kB / 4.89 GB, free: 360.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001871/11.63, allocations: 0.9418 MB / 4.891 GB, free: 360.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006655/11.63, allocations: 2.101 MB / 4.893 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/11.63, allocations: 5.375 kB / 4.893 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007769/11.63, allocations: 256.3 kB / 4.894 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003622/11.64, allocations: 67.42 kB / 4.894 GB, free: 358.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/11.64, allocations: 1.179 MB / 4.895 GB, free: 358 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/11.64, allocations: 106 kB / 4.895 GB, free: 358 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.92e-05/11.64, allocations: 24.75 kB / 4.895 GB, free: 358 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/11.64, allocations: 4.688 kB / 4.895 GB, free: 358 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001282/11.64, allocations: 0.6404 MB / 4.896 GB, free: 358 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/11.64, allocations: 9.375 kB / 4.896 GB, free: 358 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/11.64, allocations: 226.8 kB / 4.896 GB, free: 358 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/11.64, allocations: 77.12 kB / 4.896 GB, free: 357.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003446/11.64, allocations: 2.788 MB / 4.899 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/11.65, allocations: 92.55 kB / 4.899 GB, free: 356.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/11.65, allocations: 23.34 kB / 4.899 GB, free: 356.6 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.0003312/11.65, allocations: 127.5 kB / 4.899 GB, free: 356.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000417/11.65, allocations: 95.47 kB / 4.899 GB, free: 356.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001929/11.65, allocations: 0.7121 MB / 4.9 GB, free: 356.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/11.65, allocations: 4.625 kB / 4.9 GB, free: 356.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/11.65, allocations: 11.39 kB / 4.9 GB, free: 356.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/11.65, allocations: 1.062 kB / 4.9 GB, free: 356.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003206/11.65, allocations: 1.612 MB / 4.901 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/11.65, allocations: 3.172 kB / 4.901 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/11.65, allocations: 28.28 kB / 4.901 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004079/11.65, allocations: 210.1 kB / 4.901 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/11.65, allocations: 7.703 kB / 4.902 GB, free: 355.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000969/11.65, allocations: 1.045 MB / 4.903 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/11.65, allocations: 6.812 kB / 4.903 GB, free: 355.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001318/11.65, allocations: 0.9098 MB / 4.903 GB, free: 355 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00155/11.66, allocations: 1.335 MB / 4.905 GB, free: 354.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005782/11.66, allocations: 228.2 kB / 4.905 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/11.66, allocations: 5.531 kB / 4.905 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009162/11.66, allocations: 66.36 kB / 4.905 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/11.66, allocations: 27.94 kB / 4.905 GB, free: 354.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/11.66, allocations: 15.77 kB / 4.905 GB, free: 354.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001278/11.66, allocations: 0.6851 MB / 4.906 GB, free: 354 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004141/11.66, allocations: 0.6773 MB / 4.906 GB, free: 353.9 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.00205/11.67, allocations: 1.042 MB / 4.907 GB, free: 353.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002268/11.67, allocations: 0.9768 MB / 4.908 GB, free: 353.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/11.67, allocations: 3.938 kB / 4.908 GB, free: 353.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000476/11.67, allocations: 220.5 kB / 4.909 GB, free: 353.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/11.67, allocations: 0.5184 MB / 4.909 GB, free: 353.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004638/11.68, allocations: 1.402 MB / 4.91 GB, free: 353.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/11.68, allocations: 1.258 MB / 4.912 GB, free: 352.5 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/11.68, allocations: 1.562 kB / 4.912 GB, free: 352.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)