Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.271/2.271, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001141/0.001141, allocations: 181.2 kB / 490.8 MB, free: 1.945 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.756/1.756, allocations: 221.4 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 86.3 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.9184/0.9197, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/1.296, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.738/7.035, allocations: 1.872 GB / 3.083 GB, free: 435.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000334/7.035, allocations: 90.67 kB / 3.083 GB, free: 435.1 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 3.538/10.57, allocations: 0.9821 GB / 4.066 GB, free: 346.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/10.57, allocations: 8 kB / 4.066 GB, free: 346.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/10.57, allocations: 193.8 kB / 4.066 GB, free: 346.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003055/10.58, allocations: 1.121 MB / 4.067 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/10.58, allocations: 19.98 kB / 4.067 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/10.58, allocations: 40 kB / 4.067 GB, free: 345.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008713/10.58, allocations: 489.7 kB / 4.067 GB, free: 345.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009053/10.58, allocations: 0.682 MB / 4.068 GB, free: 344.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/10.58, allocations: 3.938 kB / 4.068 GB, free: 344.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/10.58, allocations: 7.984 kB / 4.068 GB, free: 344.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/10.58, allocations: 12 kB / 4.068 GB, free: 344.3 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004457/10.58, allocations: 4.659 MB / 4.073 GB, free: 339.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/10.59, allocations: 453.2 kB / 4.073 GB, free: 338.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/10.59, allocations: 246.2 kB / 4.073 GB, free: 338.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003043/10.59, allocations: 192.8 kB / 4.073 GB, free: 338.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003455/10.59, allocations: 258.5 kB / 4.074 GB, free: 338.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=31): time 2.986e-06/10.59, allocations: 0 / 4.074 GB, free: 338.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=31): time 0.001784/10.59, allocations: 0.766 MB / 4.074 GB, free: 337.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/10.59, allocations: 88.16 kB / 4.075 GB, free: 337.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009294/10.59, allocations: 0.8754 MB / 4.075 GB, free: 336.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.763e-05/10.59, allocations: 33.69 kB / 4.075 GB, free: 336.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001918/10.59, allocations: 331.2 kB / 4.076 GB, free: 336.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/10.59, allocations: 104.3 kB / 4.076 GB, free: 336 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/10.59, allocations: 4 kB / 4.076 GB, free: 336 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/10.59, allocations: 324.2 kB / 4.076 GB, free: 335.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/10.59, allocations: 188.8 kB / 4.076 GB, free: 335.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/10.59, allocations: 0.5014 MB / 4.077 GB, free: 334.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003248/10.59, allocations: 270.7 kB / 4.077 GB, free: 334.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/10.59, allocations: 4 kB / 4.077 GB, free: 334.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001396/10.59, allocations: 0.8957 MB / 4.078 GB, free: 333.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004746/10.59, allocations: 2.093 MB / 4.08 GB, free: 331.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/10.59, allocations: 7.984 kB / 4.08 GB, free: 331.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/10.59, allocations: 263 kB / 4.08 GB, free: 331.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/10.59, allocations: 63.91 kB / 4.08 GB, free: 331.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/10.59, allocations: 1.239 MB / 4.082 GB, free: 329.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008599/10.6, allocations: 85.72 kB / 4.082 GB, free: 329.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/10.6, allocations: 27.98 kB / 4.082 GB, free: 329.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.882e-06/10.6, allocations: 4 kB / 4.082 GB, free: 329.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009439/10.6, allocations: 0.5832 MB / 4.082 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/10.6, allocations: 7.938 kB / 4.082 GB, free: 329.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/10.6, allocations: 212.3 kB / 4.082 GB, free: 329 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/10.6, allocations: 59.91 kB / 4.082 GB, free: 328.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002794/10.6, allocations: 2.762 MB / 4.085 GB, free: 326.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/10.6, allocations: 81.84 kB / 4.085 GB, free: 326 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.183e-05/10.6, allocations: 20 kB / 4.085 GB, free: 326 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_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.0001642/10.6, allocations: 120.8 kB / 4.085 GB, free: 325.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/10.6, allocations: 102.8 kB / 4.085 GB, free: 325.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000973/10.6, allocations: 0.6458 MB / 4.086 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/10.6, allocations: 4 kB / 4.086 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/10.6, allocations: 7.75 kB / 4.086 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/10.6, allocations: 0 / 4.086 GB, free: 325.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001854/10.6, allocations: 1.479 MB / 4.088 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/10.6, allocations: 0 / 4.088 GB, free: 323.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/10.6, allocations: 27.98 kB / 4.088 GB, free: 323.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/10.6, allocations: 218.4 kB / 4.088 GB, free: 323.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/10.6, allocations: 4 kB / 4.088 GB, free: 323.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008694/10.6, allocations: 1.102 MB / 4.089 GB, free: 322.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/10.6, allocations: 0 / 4.089 GB, free: 322.2 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007989/10.61, allocations: 0.8625 MB / 4.09 GB, free: 321.3 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001105/10.61, allocations: 1.273 MB / 4.091 GB, free: 319.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/10.61, allocations: 215.7 kB / 4.091 GB, free: 319.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/10.61, allocations: 4 kB / 4.091 GB, free: 319.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/10.61, allocations: 58.84 kB / 4.091 GB, free: 319.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/10.61, allocations: 23.97 kB / 4.091 GB, free: 319.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/10.61, allocations: 12 kB / 4.091 GB, free: 319.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0006983/10.61, allocations: 0.6924 MB / 4.092 GB, free: 318.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002944/10.61, allocations: 0.679 MB / 4.093 GB, free: 318.2 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_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.001622/10.61, allocations: 1.099 MB / 4.094 GB, free: 317.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002077/10.62, allocations: 1.027 MB / 4.095 GB, free: 316.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/10.62, allocations: 0 / 4.095 GB, free: 316.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004697/10.62, allocations: 260.2 kB / 4.095 GB, free: 316 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/10.62, allocations: 374.7 kB / 4.095 GB, free: 315.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/10.62, allocations: 1.39 MB / 4.097 GB, free: 314.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006033/10.62, allocations: 1.259 MB / 4.098 GB, free: 313 MB / 1.151 GB Notification: Performance of SimCode: time 5.91e-07/10.62, allocations: 0 / 4.098 GB, free: 313 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)