Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 185.5 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4618/0.4618, allocations: 90.85 MB / 99.07 MB, free: 14.95 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.4 MB / 342.8 MB, free: 5.449 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 102.8 kB / 415.5 MB, free: 6.477 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2006/0.2017, allocations: 78.45 MB / 494 MB, free: 8.027 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4801/0.6818, allocations: 72.31 MB / 0.553 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.02/4.702, allocations: 1.822 GB / 2.375 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/4.703, allocations: 87.95 kB / 2.375 GB, free: 3.316 MB / 0.6042 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 3.668/8.371, allocations: 0.9699 GB / 3.345 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/8.371, allocations: 7.594 kB / 3.345 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/8.372, allocations: 190.9 kB / 3.345 GB, free: 167.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00306/8.375, allocations: 1.09 MB / 3.346 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/8.375, allocations: 18.5 kB / 3.346 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/8.375, allocations: 41.56 kB / 3.346 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009314/8.376, allocations: 489.8 kB / 3.347 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/8.377, allocations: 0.6895 MB / 3.347 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/8.377, allocations: 2.25 kB / 3.347 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/8.378, allocations: 3.781 kB / 3.347 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/8.378, allocations: 18.14 kB / 3.347 GB, free: 166.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005151/8.383, allocations: 4.664 MB / 3.352 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/8.383, allocations: 451.1 kB / 3.352 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002917/8.384, allocations: 249.6 kB / 3.352 GB, free: 163.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003203/8.384, allocations: 188.3 kB / 3.353 GB, free: 163.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003097/8.384, allocations: 272.5 kB / 3.353 GB, free: 163 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=31): time 2.104e-06/8.384, allocations: 0 / 3.353 GB, free: 163 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31): time 0.001088/8.385, allocations: 498.3 kB / 3.353 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/8.385, allocations: 87.47 kB / 3.353 GB, free: 162.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/8.387, allocations: 0.8756 MB / 3.354 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/8.387, allocations: 28.58 kB / 3.354 GB, free: 162.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/8.387, allocations: 338.6 kB / 3.355 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.274e-05/8.387, allocations: 101.5 kB / 3.355 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/8.387, allocations: 3.672 kB / 3.355 GB, free: 162.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.536e-05/8.387, allocations: 327.5 kB / 3.355 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/8.387, allocations: 188.4 kB / 3.355 GB, free: 162.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004282/8.388, allocations: 0.5049 MB / 3.356 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003542/8.388, allocations: 280.9 kB / 3.356 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/8.388, allocations: 2.938 kB / 3.356 GB, free: 161.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009879/8.389, allocations: 0.6197 MB / 3.357 GB, free: 161.7 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000553/8.39, allocations: 2.096 MB / 3.359 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/8.39, allocations: 7.281 kB / 3.359 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/8.39, allocations: 13.88 kB / 3.359 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/8.392, allocations: 276.5 kB / 3.359 GB, free: 159.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/8.395, allocations: 6.236 MB / 3.365 GB, free: 153.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/8.396, allocations: 89.92 kB / 3.365 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.054e-05/8.396, allocations: 29.89 kB / 3.365 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/8.396, allocations: 4.781 kB / 3.365 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006192/8.396, allocations: 412.9 kB / 3.366 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/8.396, allocations: 7.5 kB / 3.366 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/8.396, allocations: 9.594 kB / 3.366 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005608/8.397, allocations: 149.4 kB / 3.366 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/8.397, allocations: 19.94 kB / 3.366 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008672/8.398, allocations: 75.25 kB / 3.366 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/8.398, allocations: 22.23 kB / 3.366 GB, free: 153.6 MB / 0.6042 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_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 (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001839/8.398, allocations: 136.4 kB / 3.366 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/8.398, allocations: 91.06 kB / 3.366 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/8.399, allocations: 458.4 kB / 3.367 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/8.399, allocations: 7.406 kB / 3.367 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/8.399, allocations: 3.75 kB / 3.367 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/8.399, allocations: 0 / 3.367 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/8.401, allocations: 1.27 MB / 3.368 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/8.401, allocations: 3.906 kB / 3.368 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006931/8.402, allocations: 168.1 kB / 3.368 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/8.402, allocations: 3.438 kB / 3.368 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/8.402, allocations: 7.609 kB / 3.368 GB, free: 153 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002356/8.404, allocations: 6.082 MB / 3.374 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/8.404, allocations: 7.344 kB / 3.374 GB, free: 147.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006498/8.405, allocations: 0.642 MB / 3.375 GB, free: 146.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008439/8.406, allocations: 1.069 MB / 3.376 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003994/8.406, allocations: 207.5 kB / 3.376 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/8.407, allocations: 14.28 kB / 3.376 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/8.407, allocations: 51.47 kB / 3.376 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/8.407, allocations: 29.34 kB / 3.376 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/8.407, allocations: 10.91 kB / 3.376 GB, free: 145.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0008707/8.408, allocations: 0.6849 MB / 3.377 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003224/8.411, allocations: 0.6239 MB / 3.377 GB, free: 145.8 MB / 0.6042 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001724/8.413, allocations: 1.038 MB / 3.378 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00315/8.416, allocations: 0.95 MB / 3.379 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/8.416, allocations: 0 / 3.379 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007966/8.417, allocations: 284 kB / 3.379 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002038/8.419, allocations: 370.8 kB / 3.38 GB, free: 145.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/8.423, allocations: 1.385 MB / 3.381 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/8.424, allocations: 1.266 MB / 3.382 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of SimCode: time 1.512e-06/8.424, allocations: 0 / 3.382 GB, free: 144.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)