Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",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 7.0.3-maint.7.0.x/package.mo): time 1.232/1.232, allocations: 249.4 MB / 256.7 MB, free: 7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 188.4 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.2 MB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008536/0.0008537, allocations: 93.84 kB / 0.671 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3854/0.3863, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.5968, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.193/4.79, allocations: 2.185 GB / 3.069 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/4.79, allocations: 91.81 kB / 3.069 GB, free: 203 MB / 0.8698 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 2.662/7.452, allocations: 0.9407 GB / 4.01 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/7.452, allocations: 8.562 kB / 4.01 GB, free: 240.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007795/7.453, allocations: 190.5 kB / 4.01 GB, free: 240.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/7.455, allocations: 1.116 MB / 4.011 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/7.455, allocations: 16.41 kB / 4.011 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.843e-05/7.456, allocations: 36.95 kB / 4.011 GB, free: 240.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007514/7.456, allocations: 492.4 kB / 4.012 GB, free: 240 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008992/7.457, allocations: 0.6839 MB / 4.013 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/7.457, allocations: 8.969 kB / 4.013 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/7.457, allocations: 2.719 kB / 4.013 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/7.457, allocations: 14.44 kB / 4.013 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/7.462, allocations: 4.662 MB / 4.017 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006686/7.462, allocations: 447.6 kB / 4.018 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/7.463, allocations: 249.9 kB / 4.018 GB, free: 235.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002909/7.463, allocations: 199.4 kB / 4.018 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/7.463, allocations: 264.3 kB / 4.018 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=31): time 2.554e-06/7.463, allocations: 1.031 kB / 4.018 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31): time 0.001871/7.465, allocations: 0.7546 MB / 4.019 GB, free: 235 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/7.465, allocations: 85.69 kB / 4.019 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/7.466, allocations: 0.8754 MB / 4.02 GB, free: 234.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/7.467, allocations: 28.58 kB / 4.02 GB, free: 234.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/7.467, allocations: 334.3 kB / 4.02 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/7.467, allocations: 107.3 kB / 4.02 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.953e-05/7.467, allocations: 3.594 kB / 4.02 GB, free: 234.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.849e-05/7.467, allocations: 334 kB / 4.021 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/7.467, allocations: 184.9 kB / 4.021 GB, free: 233.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004527/7.468, allocations: 0.5 MB / 4.021 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/7.468, allocations: 272.6 kB / 4.022 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/7.468, allocations: 6 kB / 4.022 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001627/7.47, allocations: 0.8884 MB / 4.022 GB, free: 233.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004147/7.47, allocations: 2.104 MB / 4.025 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/7.47, allocations: 5.125 kB / 4.025 GB, free: 230.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000556/7.471, allocations: 257.8 kB / 4.025 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/7.471, allocations: 64.69 kB / 4.025 GB, free: 230.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/7.473, allocations: 1.238 MB / 4.026 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009288/7.474, allocations: 85.58 kB / 4.026 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/7.474, allocations: 27.02 kB / 4.026 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/7.474, allocations: 3.188 kB / 4.026 GB, free: 230.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/7.475, allocations: 0.5779 MB / 4.027 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/7.475, allocations: 5.156 kB / 4.027 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005764/7.475, allocations: 217.2 kB / 4.027 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/7.476, allocations: 66.55 kB / 4.027 GB, free: 229.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/7.479, allocations: 2.746 MB / 4.03 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/7.48, allocations: 75.36 kB / 4.03 GB, free: 228.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/7.48, allocations: 24.53 kB / 4.03 GB, free: 228.1 MB / 0.8698 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 (34): * Single equations (assignments): 32 * 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 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001527/7.48, allocations: 133.4 kB / 4.03 GB, free: 228 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/7.48, allocations: 96.28 kB / 4.03 GB, free: 227.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/7.481, allocations: 0.6622 MB / 4.031 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/7.481, allocations: 3 kB / 4.031 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/7.481, allocations: 0.8438 kB / 4.031 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/7.481, allocations: 2.953 kB / 4.031 GB, free: 227.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002312/7.483, allocations: 1.476 MB / 4.032 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/7.484, allocations: 2.266 kB / 4.032 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/7.484, allocations: 26.23 kB / 4.032 GB, free: 227 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/7.484, allocations: 217.2 kB / 4.032 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/7.484, allocations: 4.484 kB / 4.032 GB, free: 226.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/7.485, allocations: 1.1 MB / 4.033 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/7.485, allocations: 2.062 kB / 4.033 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009766/7.486, allocations: 0.8558 MB / 4.034 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001089/7.487, allocations: 1.277 MB / 4.035 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/7.488, allocations: 212.3 kB / 4.036 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/7.488, allocations: 3.344 kB / 4.036 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005266/7.488, allocations: 59.92 kB / 4.036 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.056e-05/7.488, allocations: 30.39 kB / 4.036 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/7.488, allocations: 13.48 kB / 4.036 GB, free: 224.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008199/7.489, allocations: 0.6899 MB / 4.036 GB, free: 224.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003045/7.492, allocations: 0.6652 MB / 4.037 GB, free: 224.1 MB / 0.8698 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 (12): * Single equations (assignments): 9 * 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 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0013/7.494, allocations: 1.111 MB / 4.038 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002043/7.496, allocations: 1.038 MB / 4.039 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/7.496, allocations: 0 / 4.039 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005144/7.496, allocations: 253.9 kB / 4.039 GB, free: 223.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/7.498, allocations: 374.7 kB / 4.04 GB, free: 223.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/7.5, allocations: 1.389 MB / 4.041 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008109/7.501, allocations: 1.256 MB / 4.042 GB, free: 222 MB / 0.8698 GB Notification: Performance of SimCode: time 2.8e-07/7.501, allocations: 7.438 kB / 4.042 GB, free: 222 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)