Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.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.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries",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.7471/0.7471, allocations: 141.8 MB / 149.1 MB, free: 364 kB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 175.9 kB / 181.9 MB, free: 12.6 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.361/1.361, allocations: 221.3 MB / 436 MB, free: 5.375 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.0009504/0.0009505, allocations: 93.22 kB / 0.507 GB, free: 19.07 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001896/0.001896, allocations: 287 kB / 0.5884 GB, free: 6.539 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4594/0.4614, allocations: 89.62 MB / 0.676 GB, free: 139.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.6359, allocations: 82.78 MB / 0.7568 GB, free: 88.19 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.678/4.314, allocations: 1.828 GB / 2.584 GB, free: 169.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/4.314, allocations: 90.84 kB / 2.584 GB, free: 169.7 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 3.214/7.528, allocations: 0.9676 GB / 3.552 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/7.528, allocations: 10.66 kB / 3.552 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/7.529, allocations: 191.3 kB / 3.552 GB, free: 197.4 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002635/7.532, allocations: 1.078 MB / 3.553 GB, free: 197.1 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/7.532, allocations: 17.62 kB / 3.553 GB, free: 197.1 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/7.532, allocations: 36.59 kB / 3.553 GB, free: 197.1 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008559/7.533, allocations: 0.4975 MB / 3.554 GB, free: 197.1 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/7.534, allocations: 0.5762 MB / 3.554 GB, free: 197 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/7.534, allocations: 1.125 kB / 3.554 GB, free: 197 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/7.534, allocations: 0 / 3.554 GB, free: 197 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/7.534, allocations: 11.81 kB / 3.554 GB, free: 197 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/7.538, allocations: 3.334 MB / 3.558 GB, free: 194.9 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004921/7.538, allocations: 434.5 kB / 3.558 GB, free: 194.8 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/7.539, allocations: 238.1 kB / 3.558 GB, free: 194.8 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002827/7.539, allocations: 201 kB / 3.558 GB, free: 194.6 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/7.539, allocations: 30.8 kB / 3.558 GB, free: 194.6 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=28): time 2.044e-06/7.539, allocations: 0 / 3.558 GB, free: 194.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=28): time 0.001809/7.541, allocations: 0.7612 MB / 3.559 GB, free: 194.5 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/7.541, allocations: 61.23 kB / 3.559 GB, free: 194.4 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009729/7.542, allocations: 0.7899 MB / 3.56 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/7.542, allocations: 25.7 kB / 3.56 GB, free: 194.3 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/7.542, allocations: 284.8 kB / 3.56 GB, free: 194.2 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 7.351e-05/7.542, allocations: 97.36 kB / 3.56 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/7.542, allocations: 0 / 3.56 GB, free: 194.1 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.535e-05/7.542, allocations: 320.3 kB / 3.561 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/7.542, allocations: 145 kB / 3.561 GB, free: 193.8 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/7.543, allocations: 346.3 kB / 3.561 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/7.543, allocations: 184.7 kB / 3.561 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/7.543, allocations: 3.906 kB / 3.561 GB, free: 193.6 MB / 0.6982 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001374/7.544, allocations: 0.7445 MB / 3.562 GB, free: 193.5 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/7.544, allocations: 360.9 kB / 3.562 GB, free: 193.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/7.544, allocations: 3.406 kB / 3.562 GB, free: 193.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004731/7.545, allocations: 223.3 kB / 3.563 GB, free: 193.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/7.545, allocations: 22.88 kB / 3.563 GB, free: 193.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000956/7.546, allocations: 1.133 MB / 3.564 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007534/7.547, allocations: 71.72 kB / 3.564 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/7.547, allocations: 14.75 kB / 3.564 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.118e-06/7.547, allocations: 3.906 kB / 3.564 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000846/7.548, allocations: 448.4 kB / 3.564 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/7.548, allocations: 8.484 kB / 3.564 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/7.548, allocations: 202 kB / 3.564 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/7.548, allocations: 24.92 kB / 3.564 GB, free: 192.6 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003058/7.551, allocations: 2.764 MB / 3.567 GB, free: 191.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006899/7.552, allocations: 67.69 kB / 3.567 GB, free: 191.2 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/7.552, allocations: 13.69 kB / 3.567 GB, free: 191.2 MB / 0.6982 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0001084/7.552, allocations: 108.3 kB / 3.567 GB, free: 191.1 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/7.552, allocations: 87.05 kB / 3.567 GB, free: 191.1 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/7.553, allocations: 0.6575 MB / 3.568 GB, free: 191 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/7.553, allocations: 3.781 kB / 3.568 GB, free: 191 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/7.553, allocations: 0 / 3.568 GB, free: 191 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/7.553, allocations: 3.562 kB / 3.568 GB, free: 191 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/7.556, allocations: 1.393 MB / 3.569 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/7.556, allocations: 3.5 kB / 3.569 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/7.556, allocations: 23.09 kB / 3.569 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/7.556, allocations: 194.6 kB / 3.57 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/7.556, allocations: 3.875 kB / 3.57 GB, free: 190.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007164/7.557, allocations: 1.019 MB / 3.571 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/7.557, allocations: 3.141 kB / 3.571 GB, free: 190.1 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008889/7.558, allocations: 0.8262 MB / 3.571 GB, free: 189.8 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00104/7.559, allocations: 1.262 MB / 3.573 GB, free: 189 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/7.559, allocations: 199.7 kB / 3.573 GB, free: 188.9 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/7.559, allocations: 7.562 kB / 3.573 GB, free: 188.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005895/7.56, allocations: 58.2 kB / 3.573 GB, free: 188.8 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/7.56, allocations: 24.53 kB / 3.573 GB, free: 188.8 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/7.56, allocations: 10.25 kB / 3.573 GB, free: 188.8 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.000695/7.561, allocations: 0.6308 MB / 3.574 GB, free: 188.8 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.00304/7.564, allocations: 0.6209 MB / 3.574 GB, free: 188.7 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001618/7.565, allocations: 1.032 MB / 3.575 GB, free: 188.5 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001337/7.567, allocations: 0.6842 MB / 3.576 GB, free: 188.4 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/7.567, allocations: 0 / 3.576 GB, free: 188.4 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/7.567, allocations: 186.6 kB / 3.576 GB, free: 188.4 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/7.569, allocations: 370.3 kB / 3.576 GB, free: 188.4 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/7.572, allocations: 1.349 MB / 3.578 GB, free: 188 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007666/7.572, allocations: 1.252 MB / 3.579 GB, free: 187.3 MB / 0.6982 GB Notification: Performance of SimCode: time 5.41e-07/7.572, allocations: 0 / 3.579 GB, free: 187.3 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)