Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) 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) 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) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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/BuildSysPro 3.5.0/package.mo): time 0.7525/0.7525, allocations: 127.4 MB / 134.6 MB, free: 4.047 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 177.3 kB / 164.4 MB, free: 6.852 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.032/2.032, allocations: 205.1 MB / 399.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 91.98 kB / 476.3 MB, free: 8.816 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3888/0.3899, allocations: 82.89 MB / 0.5461 GB, free: 42.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.5861, allocations: 76.75 MB / 0.621 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.811/6.397, allocations: 2.141 GB / 2.762 GB, free: 72.45 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/6.398, allocations: 95.94 kB / 2.762 GB, free: 72.35 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 7.236/13.63, allocations: 1.774 GB / 4.536 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/13.63, allocations: 7.531 kB / 4.536 GB, free: 161.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/13.64, allocations: 183.3 kB / 4.537 GB, free: 161.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/13.64, allocations: 1.132 MB / 4.538 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.811e-05/13.64, allocations: 15.66 kB / 4.538 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/13.64, allocations: 41.72 kB / 4.538 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008885/13.64, allocations: 499.7 kB / 4.538 GB, free: 160.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009375/13.64, allocations: 0.668 MB / 4.539 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/13.64, allocations: 5.719 kB / 4.539 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.532e-05/13.64, allocations: 3.594 kB / 4.539 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/13.64, allocations: 14.94 kB / 4.539 GB, free: 160.6 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005381/13.65, allocations: 4.506 MB / 4.543 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007236/13.65, allocations: 468 kB / 4.544 GB, free: 157.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000335/13.65, allocations: 253 kB / 4.544 GB, free: 157.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/13.65, allocations: 193 kB / 4.544 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/13.65, allocations: 256.2 kB / 4.544 GB, free: 157 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 2.645e-06/13.65, allocations: 0 / 4.544 GB, free: 157 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.01391/13.66, allocations: 2.379 MB / 4.547 GB, free: 156.9 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.92e-05/13.66, allocations: 85.17 kB / 4.547 GB, free: 156.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/13.66, allocations: 0.8732 MB / 4.548 GB, free: 156.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002123/13.66, allocations: 29.33 kB / 4.548 GB, free: 156.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/13.67, allocations: 349.5 kB / 4.548 GB, free: 156.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/13.67, allocations: 98.17 kB / 4.548 GB, free: 156.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.851e-05/13.67, allocations: 0 / 4.548 GB, free: 156.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.442e-05/13.67, allocations: 330.9 kB / 4.548 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005518/13.67, allocations: 314.2 kB / 4.549 GB, free: 156.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/13.67, allocations: 0.6204 MB / 4.549 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/13.67, allocations: 368.1 kB / 4.55 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/13.67, allocations: 7.25 kB / 4.55 GB, free: 155.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.01163/13.68, allocations: 2.316 MB / 4.552 GB, free: 155.7 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005081/13.68, allocations: 2.02 MB / 4.554 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/13.68, allocations: 3.938 kB / 4.554 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/13.68, allocations: 0.5643 MB / 4.554 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/13.68, allocations: 67.94 kB / 4.554 GB, free: 153.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/13.68, allocations: 1.6 MB / 4.556 GB, free: 153 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/13.68, allocations: 147 kB / 4.556 GB, free: 153 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/13.68, allocations: 28.69 kB / 4.556 GB, free: 153 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/13.68, allocations: 3.75 kB / 4.556 GB, free: 153 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/13.69, allocations: 0.5868 MB / 4.557 GB, free: 153 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/13.69, allocations: 7.562 kB / 4.557 GB, free: 153 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/13.69, allocations: 205.4 kB / 4.557 GB, free: 153 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/13.69, allocations: 68.73 kB / 4.557 GB, free: 153 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/13.69, allocations: 2.752 MB / 4.56 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/13.69, allocations: 72.36 kB / 4.56 GB, free: 151.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.76e-05/13.69, allocations: 25.84 kB / 4.56 GB, free: 151.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 31 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003281/13.69, allocations: 121.5 kB / 4.56 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/13.69, allocations: 99.16 kB / 4.56 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/13.69, allocations: 102.4 kB / 4.56 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/13.69, allocations: 6.031 kB / 4.56 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/13.69, allocations: 0 / 4.56 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/13.69, allocations: 7.281 kB / 4.56 GB, free: 151.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/13.7, allocations: 2.826 MB / 4.563 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/13.7, allocations: 0 / 4.563 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001572/13.7, allocations: 26.41 kB / 4.563 GB, free: 151.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009789/13.7, allocations: 0.5246 MB / 4.563 GB, free: 151 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.562e-05/13.7, allocations: 11.02 kB / 4.563 GB, free: 151 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/13.72, allocations: 6.432 MB / 4.57 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/13.72, allocations: 0 / 4.57 GB, free: 149.7 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009535/13.73, allocations: 2.028 MB / 4.572 GB, free: 149.4 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009501/13.74, allocations: 2.457 MB / 4.574 GB, free: 148.7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/13.74, allocations: 171 kB / 4.574 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003397/13.74, allocations: 8.844 kB / 4.574 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/13.74, allocations: 115.5 kB / 4.574 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/13.74, allocations: 25.55 kB / 4.574 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/13.74, allocations: 16.8 kB / 4.574 GB, free: 148.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001155/13.74, allocations: 0.6773 MB / 4.575 GB, free: 148.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004782/13.75, allocations: 0.7218 MB / 4.576 GB, free: 148.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002682/13.75, allocations: 1.105 MB / 4.577 GB, free: 148.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002835/13.75, allocations: 1.173 MB / 4.578 GB, free: 148 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/13.75, allocations: 1.688 kB / 4.578 GB, free: 148 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001146/13.75, allocations: 482.6 kB / 4.579 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/13.76, allocations: 374 kB / 4.579 GB, free: 147.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/13.76, allocations: 1.68 MB / 4.581 GB, free: 147.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/13.76, allocations: 1.251 MB / 4.582 GB, free: 146.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/13.76, allocations: 1.25 kB / 4.582 GB, free: 146.8 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)