Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 187.9 kB / 7.802 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4708/0.4708, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.4 MB / 342.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 104 kB / 415.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1893/0.1907, allocations: 78.43 MB / 493.9 MB, free: 7.961 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.6077, allocations: 72.31 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.473/4.081, allocations: 1.821 GB / 2.374 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/4.081, allocations: 83.95 kB / 2.374 GB, free: 4.688 MB / 0.6042 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.543/7.624, allocations: 0.9675 GB / 3.341 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/7.624, allocations: 14.31 kB / 3.341 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007849/7.625, allocations: 182.1 kB / 3.341 GB, free: 167.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001945/7.627, allocations: 1.072 MB / 3.342 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/7.627, allocations: 23.16 kB / 3.342 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/7.627, allocations: 36.66 kB / 3.342 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006834/7.628, allocations: 0.4948 MB / 3.343 GB, free: 167.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/7.629, allocations: 0.5779 MB / 3.343 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/7.629, allocations: 2.281 kB / 3.343 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.991e-05/7.629, allocations: 0 / 3.343 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/7.629, allocations: 11.5 kB / 3.344 GB, free: 167 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/7.632, allocations: 3.321 MB / 3.347 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005088/7.632, allocations: 442.9 kB / 3.347 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/7.633, allocations: 247.4 kB / 3.347 GB, free: 164.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000281/7.633, allocations: 191.5 kB / 3.348 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/7.633, allocations: 41.3 kB / 3.348 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/7.633, allocations: 0 / 3.348 GB, free: 164.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28): time 0.001656/7.635, allocations: 0.7425 MB / 3.348 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/7.635, allocations: 55.12 kB / 3.348 GB, free: 164.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007998/7.635, allocations: 0.7878 MB / 3.349 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/7.635, allocations: 29.58 kB / 3.349 GB, free: 164.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/7.636, allocations: 289.5 kB / 3.349 GB, free: 164.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/7.636, allocations: 100.2 kB / 3.35 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/7.636, allocations: 2.734 kB / 3.35 GB, free: 164.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/7.636, allocations: 318.4 kB / 3.35 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/7.636, allocations: 143.9 kB / 3.35 GB, free: 163.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/7.636, allocations: 344 kB / 3.35 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/7.636, allocations: 197 kB / 3.351 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/7.636, allocations: 1.125 kB / 3.351 GB, free: 163.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001299/7.638, allocations: 0.7357 MB / 3.351 GB, free: 163.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.173e-05/7.638, allocations: 368.4 kB / 3.352 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/7.638, allocations: 0 / 3.352 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004183/7.638, allocations: 226.6 kB / 3.352 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/7.638, allocations: 23.69 kB / 3.352 GB, free: 163.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000931/7.639, allocations: 1.131 MB / 3.353 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007283/7.64, allocations: 64.77 kB / 3.353 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.142e-05/7.64, allocations: 11.88 kB / 3.353 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/7.64, allocations: 7.469 kB / 3.353 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000864/7.641, allocations: 454 kB / 3.353 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/7.641, allocations: 0 / 3.353 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/7.642, allocations: 201.7 kB / 3.354 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/7.642, allocations: 25.25 kB / 3.354 GB, free: 162.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002933/7.645, allocations: 2.762 MB / 3.356 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/7.645, allocations: 73.33 kB / 3.356 GB, free: 161.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/7.645, allocations: 15.77 kB / 3.356 GB, free: 161.3 MB / 0.6042 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.0001258/7.645, allocations: 107.6 kB / 3.357 GB, free: 161.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/7.646, allocations: 84.44 kB / 3.357 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/7.647, allocations: 0.6626 MB / 3.357 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/7.647, allocations: 7.797 kB / 3.357 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/7.647, allocations: 2.906 kB / 3.357 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/7.647, allocations: 3.797 kB / 3.357 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/7.649, allocations: 1.377 MB / 3.359 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/7.649, allocations: 3.188 kB / 3.359 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/7.649, allocations: 27.83 kB / 3.359 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/7.649, allocations: 192 kB / 3.359 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/7.649, allocations: 3.438 kB / 3.359 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007432/7.65, allocations: 1.014 MB / 3.36 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/7.65, allocations: 3.562 kB / 3.36 GB, free: 160.2 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000891/7.651, allocations: 0.8313 MB / 3.361 GB, free: 159.8 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001142/7.652, allocations: 1.246 MB / 3.362 GB, free: 159 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/7.652, allocations: 205.2 kB / 3.362 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/7.652, allocations: 0 / 3.362 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/7.653, allocations: 59.94 kB / 3.362 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.715e-05/7.653, allocations: 30.58 kB / 3.362 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/7.653, allocations: 7.188 kB / 3.362 GB, free: 158.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006915/7.654, allocations: 0.6287 MB / 3.363 GB, free: 158.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002768/7.656, allocations: 0.62 MB / 3.363 GB, free: 158.8 MB / 0.6042 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.00147/7.658, allocations: 1.036 MB / 3.364 GB, free: 158.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001095/7.659, allocations: 0.6798 MB / 3.365 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/7.659, allocations: 0 / 3.365 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/7.659, allocations: 190.7 kB / 3.365 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/7.661, allocations: 365.9 kB / 3.366 GB, free: 158.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/7.663, allocations: 1.348 MB / 3.367 GB, free: 158.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007159/7.664, allocations: 1.25 MB / 3.368 GB, free: 157.4 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/7.664, allocations: 0 / 3.368 GB, free: 157.4 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsSeries.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsSeries.pipe 2>&1)