Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp",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/BuildingSystems 2.0.0-master/package.mo): time 0.7389/0.7389, allocations: 141.8 MB / 149.1 MB, free: 15.97 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 187.9 kB / 181.9 MB, free: 12.3 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 221.3 MB / 436 MB, free: 5.082 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000987/0.0009875, allocations: 92.17 kB / 0.507 GB, free: 19.17 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001936/0.001936, allocations: 280.8 kB / 0.5884 GB, free: 6.266 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4696/0.4716, allocations: 89.63 MB / 0.676 GB, free: 139.4 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.6538, allocations: 82.78 MB / 0.7568 GB, free: 87.68 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.094/4.748, allocations: 1.831 GB / 2.588 GB, free: 181.6 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000316/4.749, allocations: 91.92 kB / 2.588 GB, free: 181.5 MB / 0.6982 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 3.198/7.947, allocations: 0.9817 GB / 3.57 GB, free: 191 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/7.947, allocations: 11.91 kB / 3.57 GB, free: 191 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/7.948, allocations: 191.7 kB / 3.57 GB, free: 190.9 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003949/7.952, allocations: 1.389 MB / 3.571 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/7.952, allocations: 25.05 kB / 3.571 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/7.952, allocations: 45.5 kB / 3.572 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007918/7.953, allocations: 0.4998 MB / 3.572 GB, free: 190.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000866/7.954, allocations: 0.7073 MB / 3.573 GB, free: 190.4 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/7.954, allocations: 4.781 kB / 3.573 GB, free: 190.4 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/7.954, allocations: 7.688 kB / 3.573 GB, free: 190.4 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/7.954, allocations: 10.88 kB / 3.573 GB, free: 190.4 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/7.958, allocations: 4.155 MB / 3.577 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005446/7.958, allocations: 463.6 kB / 3.577 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/7.959, allocations: 329.4 kB / 3.578 GB, free: 187.6 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002876/7.959, allocations: 190.4 kB / 3.578 GB, free: 187.4 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003057/7.959, allocations: 287.5 kB / 3.578 GB, free: 187.3 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=33): time 2.354e-06/7.959, allocations: 0 / 3.578 GB, free: 187.3 MB / 0.6982 GB Notification: Performance of matching and sorting (n=33): time 0.001085/7.96, allocations: 0.5229 MB / 3.579 GB, free: 187.2 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/7.96, allocations: 81.08 kB / 3.579 GB, free: 187.1 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/7.962, allocations: 0.8749 MB / 3.579 GB, free: 187 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 6.385e-05/7.962, allocations: 29.39 kB / 3.579 GB, free: 186.9 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/7.962, allocations: 337.2 kB / 3.58 GB, free: 186.8 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 9.044e-05/7.962, allocations: 112.7 kB / 3.58 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/7.962, allocations: 0 / 3.58 GB, free: 186.7 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.714e-05/7.962, allocations: 324.5 kB / 3.58 GB, free: 186.4 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/7.962, allocations: 200.8 kB / 3.58 GB, free: 186.4 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/7.963, allocations: 0.5191 MB / 3.581 GB, free: 186.1 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/7.963, allocations: 293.4 kB / 3.581 GB, free: 186.1 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/7.963, allocations: 0 / 3.581 GB, free: 186.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000912/7.964, allocations: 0.6564 MB / 3.582 GB, free: 186 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003418/7.964, allocations: 2.097 MB / 3.584 GB, free: 183.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/7.964, allocations: 3.938 kB / 3.584 GB, free: 183.8 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/7.964, allocations: 15.53 kB / 3.584 GB, free: 183.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001867/7.966, allocations: 294 kB / 3.584 GB, free: 183.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/7.969, allocations: 6.241 MB / 3.59 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/7.97, allocations: 99.06 kB / 3.59 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.017e-05/7.97, allocations: 29.23 kB / 3.59 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/7.97, allocations: 4.562 kB / 3.59 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005662/7.971, allocations: 450.4 kB / 3.591 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/7.971, allocations: 3.5 kB / 3.591 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/7.971, allocations: 11.75 kB / 3.591 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/7.971, allocations: 150.5 kB / 3.591 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.914e-06/7.971, allocations: 13.97 kB / 3.591 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009508/7.972, allocations: 91.88 kB / 3.591 GB, free: 177.9 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/7.972, allocations: 23.53 kB / 3.591 GB, free: 177.9 MB / 0.6982 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 (55): * Single equations (assignments): 44 * 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.0001735/7.972, allocations: 127.6 kB / 3.591 GB, free: 177.8 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/7.973, allocations: 99.19 kB / 3.591 GB, free: 177.8 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007682/7.973, allocations: 489.8 kB / 3.592 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/7.973, allocations: 3.625 kB / 3.592 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/7.973, allocations: 3.906 kB / 3.592 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/7.973, allocations: 3.938 kB / 3.592 GB, free: 177.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/7.975, allocations: 1.358 MB / 3.593 GB, free: 177.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/7.975, allocations: 5.5 kB / 3.593 GB, free: 177.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007303/7.976, allocations: 155.4 kB / 3.593 GB, free: 177.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.495e-06/7.976, allocations: 7.75 kB / 3.593 GB, free: 177.3 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.704e-05/7.976, allocations: 7.672 kB / 3.593 GB, free: 177.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/7.978, allocations: 6.089 MB / 3.599 GB, free: 171.4 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/7.978, allocations: 1.5 kB / 3.599 GB, free: 171.4 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006087/7.979, allocations: 0.6746 MB / 3.6 GB, free: 171.1 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007936/7.98, allocations: 1.101 MB / 3.601 GB, free: 170.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/7.98, allocations: 216.8 kB / 3.601 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/7.98, allocations: 7.594 kB / 3.601 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000801/7.981, allocations: 67.47 kB / 3.601 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/7.981, allocations: 31.12 kB / 3.601 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.881e-05/7.981, allocations: 13.34 kB / 3.601 GB, free: 170.2 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0008969/7.982, allocations: 0.6826 MB / 3.602 GB, free: 170.1 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.00324/7.985, allocations: 0.664 MB / 3.603 GB, free: 170.1 MB / 0.6982 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 (33): * Single equations (assignments): 21 * 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.001351/7.987, allocations: 1.12 MB / 3.604 GB, free: 169.9 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.003073/7.99, allocations: 1.02 MB / 3.605 GB, free: 169.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/7.99, allocations: 0 / 3.605 GB, free: 169.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0008028/7.991, allocations: 306.8 kB / 3.605 GB, free: 169.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/7.993, allocations: 0.5193 MB / 3.606 GB, free: 169.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/7.996, allocations: 1.405 MB / 3.607 GB, free: 169.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007362/7.997, allocations: 1.274 MB / 3.608 GB, free: 168.7 MB / 0.6982 GB Notification: Performance of SimCode: time 5.91e-07/7.997, allocations: 0 / 3.608 GB, free: 168.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_ParallelDp.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDp.pipe 2>&1)