Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.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.PressureDropsExplicit,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicit",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.001398/0.001398, allocations: 188 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4919/0.4919, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.41/1.41, allocations: 221.4 MB / 342.8 MB, free: 5.246 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.001154/0.001154, allocations: 94.11 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2181/0.2193, allocations: 78.44 MB / 493.9 MB, free: 7.969 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4541/0.6734, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.932/4.605, allocations: 1.825 GB / 2.378 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/4.606, allocations: 79.89 kB / 2.378 GB, free: 237.4 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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 5.028/9.634, allocations: 1.432 GB / 3.81 GB, free: 66.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/9.634, allocations: 9.25 kB / 3.81 GB, free: 66.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/9.635, allocations: 207.1 kB / 3.811 GB, free: 66.42 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002971/9.638, allocations: 0.9676 MB / 3.812 GB, free: 66.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/9.639, allocations: 86.12 kB / 3.812 GB, free: 66.05 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/9.639, allocations: 54.06 kB / 3.812 GB, free: 66.05 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/9.64, allocations: 416.1 kB / 3.812 GB, free: 66.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/9.641, allocations: 0.782 MB / 3.813 GB, free: 65.77 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/9.641, allocations: 2.25 kB / 3.813 GB, free: 65.77 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.12e-05/9.641, allocations: 3.906 kB / 3.813 GB, free: 65.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/9.641, allocations: 25.22 kB / 3.813 GB, free: 65.77 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005414/9.647, allocations: 4.858 MB / 3.818 GB, free: 62.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/9.647, allocations: 393.5 kB / 3.818 GB, free: 61.95 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/9.647, allocations: 247.3 kB / 3.818 GB, free: 61.84 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/9.648, allocations: 113.8 kB / 3.818 GB, free: 61.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/9.648, allocations: 55.25 kB / 3.818 GB, free: 61.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=33): time 2.345e-06/9.648, allocations: 0 / 3.818 GB, free: 61.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33): time 0.001548/9.649, allocations: 456.6 kB / 3.819 GB, free: 61.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/9.649, allocations: 400.3 kB / 3.819 GB, free: 61.13 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009056/9.65, allocations: 0.6513 MB / 3.82 GB, free: 60.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/9.65, allocations: 29.52 kB / 3.82 GB, free: 60.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/9.651, allocations: 378.1 kB / 3.82 GB, free: 60.79 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/9.651, allocations: 107.6 kB / 3.82 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/9.651, allocations: 0 / 3.82 GB, free: 60.73 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.337e-05/9.651, allocations: 320 kB / 3.821 GB, free: 60.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/9.651, allocations: 79.19 kB / 3.821 GB, free: 60.43 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/9.651, allocations: 349.8 kB / 3.821 GB, free: 60.13 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/9.651, allocations: 135 kB / 3.821 GB, free: 60.13 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/9.651, allocations: 8.641 kB / 3.821 GB, free: 60.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008546/9.652, allocations: 456 kB / 3.822 GB, free: 60.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002735/9.653, allocations: 1.323 MB / 3.823 GB, free: 58.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/9.653, allocations: 3.25 kB / 3.823 GB, free: 58.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/9.653, allocations: 65.34 kB / 3.823 GB, free: 58.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004701/9.653, allocations: 93.84 kB / 3.823 GB, free: 58.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00107/9.654, allocations: 2.346 MB / 3.825 GB, free: 56.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/9.655, allocations: 56.97 kB / 3.825 GB, free: 56.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/9.655, allocations: 34.14 kB / 3.825 GB, free: 56.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.705e-06/9.655, allocations: 3.906 kB / 3.825 GB, free: 56.42 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005266/9.656, allocations: 273.2 kB / 3.826 GB, free: 56.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/9.656, allocations: 3.938 kB / 3.826 GB, free: 56.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002064/9.656, allocations: 72.25 kB / 3.826 GB, free: 56.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/9.656, allocations: 69.55 kB / 3.826 GB, free: 56.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/9.658, allocations: 2.777 MB / 3.829 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006257/9.659, allocations: 63.72 kB / 3.829 GB, free: 53.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/9.659, allocations: 24.11 kB / 3.829 GB, free: 53.84 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001685/9.659, allocations: 121.2 kB / 3.829 GB, free: 53.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/9.659, allocations: 104.1 kB / 3.829 GB, free: 53.68 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006337/9.66, allocations: 336.4 kB / 3.829 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/9.66, allocations: 7.812 kB / 3.829 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/9.66, allocations: 3.781 kB / 3.829 GB, free: 53.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/9.66, allocations: 7.594 kB / 3.829 GB, free: 53.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/9.663, allocations: 2.386 MB / 3.832 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/9.663, allocations: 7.906 kB / 3.832 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/9.663, allocations: 68.11 kB / 3.832 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/9.663, allocations: 64.16 kB / 3.832 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/9.663, allocations: 7.281 kB / 3.832 GB, free: 52.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008503/9.664, allocations: 2.315 MB / 3.834 GB, free: 49.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/9.664, allocations: 3.844 kB / 3.834 GB, free: 49.96 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007245/9.665, allocations: 0.9591 MB / 3.835 GB, free: 49.18 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001436/9.666, allocations: 1.531 MB / 3.836 GB, free: 48.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002648/9.666, allocations: 221.7 kB / 3.837 GB, free: 47.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/9.666, allocations: 3.562 kB / 3.837 GB, free: 47.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006457/9.667, allocations: 63.66 kB / 3.837 GB, free: 47.88 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/9.667, allocations: 40.06 kB / 3.837 GB, free: 47.88 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/9.667, allocations: 18.22 kB / 3.837 GB, free: 47.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005471/9.668, allocations: 0.4948 MB / 3.837 GB, free: 47.77 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004697/9.673, allocations: 1.66 MB / 3.839 GB, free: 47.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004843/9.677, allocations: 3.941 MB / 3.843 GB, free: 46.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001536/9.679, allocations: 0.669 MB / 3.843 GB, free: 45.96 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/9.679, allocations: 0 / 3.843 GB, free: 45.96 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003935/9.679, allocations: 179.1 kB / 3.843 GB, free: 45.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/9.681, allocations: 411.5 kB / 3.844 GB, free: 45.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/9.684, allocations: 1.319 MB / 3.845 GB, free: 45.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006371/9.684, allocations: 1.214 MB / 3.846 GB, free: 44.7 MB / 0.6511 GB Notification: Performance of SimCode: time 7.71e-07/9.684, allocations: 6.188 kB / 3.846 GB, free: 44.7 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)