Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7634/0.7634, allocations: 141.8 MB / 149.1 MB, free: 13.14 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.001079/0.001079, allocations: 196.4 kB / 181.9 MB, free: 9.828 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.381/1.381, allocations: 221.4 MB / 436 MB, free: 2.246 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.0009701/0.0009701, allocations: 101.2 kB / 0.507 GB, free: 11.02 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0019/0.0019, allocations: 271.8 kB / 0.5884 GB, free: 7.852 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2004/0.2023, allocations: 89.64 MB / 0.676 GB, free: 14.12 MB / 0.5575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4506/0.6529, allocations: 82.78 MB / 0.7568 GB, free: 139 MB / 0.5575 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.648/4.301, allocations: 1.831 GB / 2.588 GB, free: 207.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/4.301, allocations: 97.22 kB / 2.588 GB, free: 207.3 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.159/7.46, allocations: 0.9821 GB / 3.57 GB, free: 8.488 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/7.46, allocations: 9 kB / 3.57 GB, free: 8.48 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/7.461, allocations: 190.4 kB / 3.571 GB, free: 8.293 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/7.464, allocations: 1.112 MB / 3.572 GB, free: 7.125 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/7.465, allocations: 16 kB / 3.572 GB, free: 7.109 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/7.465, allocations: 36 kB / 3.572 GB, free: 7.074 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009234/7.466, allocations: 497.7 kB / 3.572 GB, free: 6.586 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009339/7.467, allocations: 0.6825 MB / 3.573 GB, free: 5.828 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.397e-05/7.467, allocations: 7.938 kB / 3.573 GB, free: 5.82 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/7.467, allocations: 0 / 3.573 GB, free: 5.82 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/7.467, allocations: 20 kB / 3.573 GB, free: 5.801 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004564/7.471, allocations: 4.666 MB / 3.577 GB, free: 0.7734 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/7.472, allocations: 444.5 kB / 3.578 GB, free: 336 kB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002946/7.472, allocations: 256.2 kB / 3.578 GB, free: 80 kB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3356/7.808, allocations: 200.1 kB / 3.578 GB, free: 232.1 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/7.808, allocations: 256.1 kB / 3.578 GB, free: 232.1 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=31): time 2.996e-06/7.808, allocations: 3.188 kB / 3.578 GB, free: 232.1 MB / 0.6982 GB Notification: Performance of matching and sorting (n=31): time 0.0019/7.81, allocations: 0.7623 MB / 3.579 GB, free: 232 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/7.81, allocations: 91.16 kB / 3.579 GB, free: 231.9 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/7.811, allocations: 0.8739 MB / 3.58 GB, free: 231.8 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 5.147e-05/7.811, allocations: 30.64 kB / 3.58 GB, free: 231.8 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/7.812, allocations: 332.4 kB / 3.581 GB, free: 231.7 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 7.567e-05/7.812, allocations: 105.8 kB / 3.581 GB, free: 231.6 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/7.812, allocations: 3.656 kB / 3.581 GB, free: 231.6 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/7.812, allocations: 323.9 kB / 3.581 GB, free: 231.3 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/7.812, allocations: 187.9 kB / 3.581 GB, free: 231.3 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/7.812, allocations: 0.5003 MB / 3.582 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/7.813, allocations: 273.3 kB / 3.582 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/7.813, allocations: 7.844 kB / 3.582 GB, free: 230.9 MB / 0.6982 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001429/7.814, allocations: 0.888 MB / 3.583 GB, free: 230.8 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004341/7.815, allocations: 2.093 MB / 3.585 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/7.815, allocations: 7.438 kB / 3.585 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004638/7.815, allocations: 252.2 kB / 3.585 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/7.815, allocations: 66.17 kB / 3.585 GB, free: 228.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/7.817, allocations: 1.253 MB / 3.586 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008189/7.818, allocations: 85.81 kB / 3.586 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.043e-05/7.818, allocations: 28.39 kB / 3.586 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-06/7.818, allocations: 3.875 kB / 3.586 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009217/7.819, allocations: 0.5767 MB / 3.587 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/7.819, allocations: 7.562 kB / 3.587 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/7.819, allocations: 213.7 kB / 3.587 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/7.819, allocations: 61.39 kB / 3.587 GB, free: 228.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002747/7.822, allocations: 2.749 MB / 3.59 GB, free: 226.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/7.823, allocations: 73.22 kB / 3.59 GB, free: 226.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/7.823, allocations: 21.34 kB / 3.59 GB, free: 226.8 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 (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.0001551/7.823, allocations: 127.1 kB / 3.59 GB, free: 226.6 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/7.823, allocations: 99.66 kB / 3.59 GB, free: 226.6 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/7.824, allocations: 0.6607 MB / 3.591 GB, free: 226.5 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/7.824, allocations: 7.781 kB / 3.591 GB, free: 226.5 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/7.824, allocations: 0 / 3.591 GB, free: 226.5 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/7.824, allocations: 0 / 3.591 GB, free: 226.5 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/7.826, allocations: 1.484 MB / 3.592 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/7.826, allocations: 3.938 kB / 3.592 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/7.826, allocations: 29.28 kB / 3.592 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003323/7.827, allocations: 208.3 kB / 3.593 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/7.827, allocations: 3.906 kB / 3.593 GB, free: 226.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008972/7.828, allocations: 1.106 MB / 3.594 GB, free: 225.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/7.828, allocations: 0 / 3.594 GB, free: 225.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000937/7.829, allocations: 0.8647 MB / 3.595 GB, free: 225.2 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001163/7.83, allocations: 1.27 MB / 3.596 GB, free: 224.4 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003382/7.83, allocations: 220.7 kB / 3.596 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/7.83, allocations: 7.656 kB / 3.596 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/7.831, allocations: 52.16 kB / 3.596 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.462e-05/7.831, allocations: 35.81 kB / 3.596 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/7.831, allocations: 14.72 kB / 3.596 GB, free: 224.3 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0007645/7.832, allocations: 0.6853 MB / 3.597 GB, free: 224.2 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002896/7.835, allocations: 0.6747 MB / 3.597 GB, free: 224.2 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 (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.001388/7.836, allocations: 1.108 MB / 3.598 GB, free: 224 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002127/7.838, allocations: 1.024 MB / 3.599 GB, free: 223.8 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/7.838, allocations: 0 / 3.599 GB, free: 223.8 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0005152/7.839, allocations: 269.8 kB / 3.6 GB, free: 223.8 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/7.84, allocations: 370.9 kB / 3.6 GB, free: 223.8 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/7.843, allocations: 1.39 MB / 3.601 GB, free: 223.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007193/7.843, allocations: 1.259 MB / 3.603 GB, free: 222.7 MB / 0.6982 GB Notification: Performance of SimCode: time 5.61e-07/7.843, allocations: 2.25 kB / 3.603 GB, free: 222.7 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)