Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.8154/0.8154, allocations: 127.4 MB / 134.6 MB, free: 4.09 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001205/0.001204, allocations: 189.2 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.214/2.214, allocations: 205.1 MB / 399.1 MB, free: 6.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009721/0.0009721, allocations: 83.12 kB / 476.3 MB, free: 8.824 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3548/0.3558, allocations: 82.89 MB / 0.5461 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.5444, allocations: 76.75 MB / 0.621 GB, free: 13.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.835/6.38, allocations: 2.141 GB / 2.762 GB, free: 71.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/6.38, allocations: 87.95 kB / 2.762 GB, free: 71.21 MB / 0.6355 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.717/12.1, allocations: 1.408 GB / 4.17 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/12.1, allocations: 8.469 kB / 4.17 GB, free: 63.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/12.1, allocations: 204 kB / 4.171 GB, free: 63.82 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/12.1, allocations: 0.9648 MB / 4.172 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/12.1, allocations: 92.86 kB / 4.172 GB, free: 63.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/12.1, allocations: 53.72 kB / 4.172 GB, free: 63.45 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001411/12.11, allocations: 429.6 kB / 4.172 GB, free: 63.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/12.11, allocations: 0.7006 MB / 4.173 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/12.11, allocations: 0 / 4.173 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.83e-05/12.11, allocations: 3.938 kB / 4.173 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/12.11, allocations: 21.31 kB / 4.173 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006488/12.11, allocations: 3.764 MB / 4.177 GB, free: 60.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000465/12.11, allocations: 327.3 kB / 4.177 GB, free: 60.65 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003068/12.11, allocations: 207.1 kB / 4.177 GB, free: 60.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001928/12.11, allocations: 101.5 kB / 4.177 GB, free: 60.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/12.11, allocations: 48.98 kB / 4.177 GB, free: 60.46 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 3.787e-06/12.11, allocations: 0 / 4.177 GB, free: 60.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.007744/12.12, allocations: 1.13 MB / 4.178 GB, free: 60.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/12.12, allocations: 245.4 kB / 4.179 GB, free: 60.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/12.12, allocations: 0.6417 MB / 4.179 GB, free: 59.94 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/12.12, allocations: 25.7 kB / 4.179 GB, free: 59.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/12.12, allocations: 389.5 kB / 4.18 GB, free: 59.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001291/12.12, allocations: 99.77 kB / 4.18 GB, free: 59.68 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/12.12, allocations: 6.469 kB / 4.18 GB, free: 59.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.945e-05/12.12, allocations: 316.6 kB / 4.18 GB, free: 59.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/12.13, allocations: 114.1 kB / 4.18 GB, free: 59.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003885/12.13, allocations: 356.2 kB / 4.18 GB, free: 59.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/12.13, allocations: 149.3 kB / 4.181 GB, free: 59.09 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/12.13, allocations: 0 / 4.181 GB, free: 59.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0056/12.13, allocations: 0.9398 MB / 4.181 GB, free: 59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003522/12.13, allocations: 1.06 MB / 4.183 GB, free: 57.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/12.13, allocations: 3.344 kB / 4.183 GB, free: 57.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003791/12.13, allocations: 114.3 kB / 4.183 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002816/12.13, allocations: 416.1 kB / 4.183 GB, free: 57.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/12.14, allocations: 2.712 MB / 4.186 GB, free: 55.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/12.14, allocations: 125.2 kB / 4.186 GB, free: 55.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001641/12.14, allocations: 29.53 kB / 4.186 GB, free: 55.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/12.14, allocations: 5.188 kB / 4.186 GB, free: 55.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007413/12.14, allocations: 262.5 kB / 4.186 GB, free: 55.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/12.14, allocations: 3.969 kB / 4.186 GB, free: 55.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003082/12.14, allocations: 68.83 kB / 4.186 GB, free: 55.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003106/12.14, allocations: 63.28 kB / 4.186 GB, free: 55.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002928/12.15, allocations: 2.777 MB / 4.189 GB, free: 53.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/12.15, allocations: 73.3 kB / 4.189 GB, free: 53.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/12.15, allocations: 19.16 kB / 4.189 GB, free: 53.08 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 24 * 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.0002872/12.15, allocations: 129.8 kB / 4.189 GB, free: 52.97 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006274/12.15, allocations: 95.91 kB / 4.189 GB, free: 52.92 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000394/12.15, allocations: 93.7 kB / 4.189 GB, free: 52.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/12.15, allocations: 4.438 kB / 4.189 GB, free: 52.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/12.15, allocations: 3.188 kB / 4.189 GB, free: 52.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/12.15, allocations: 10.38 kB / 4.189 GB, free: 52.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005062/12.15, allocations: 1.956 MB / 4.191 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/12.15, allocations: 3.938 kB / 4.191 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/12.16, allocations: 426.9 kB / 4.192 GB, free: 52.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/12.16, allocations: 115 kB / 4.192 GB, free: 52.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.389e-05/12.16, allocations: 7.094 kB / 4.192 GB, free: 52.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01487/12.17, allocations: 6.75 MB / 4.198 GB, free: 46.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.365e-05/12.17, allocations: 9.312 kB / 4.198 GB, free: 46.97 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005311/12.18, allocations: 1.304 MB / 4.2 GB, free: 46.27 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005909/12.18, allocations: 1.891 MB / 4.201 GB, free: 45.19 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006296/12.18, allocations: 175.2 kB / 4.202 GB, free: 45.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/12.18, allocations: 7.25 kB / 4.202 GB, free: 45.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/12.18, allocations: 108.2 kB / 4.202 GB, free: 45.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/12.19, allocations: 29.33 kB / 4.202 GB, free: 45.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/12.19, allocations: 24.47 kB / 4.202 GB, free: 45.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001045/12.19, allocations: 0.489 MB / 4.202 GB, free: 44.93 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.008509/12.19, allocations: 1.681 MB / 4.204 GB, free: 44.86 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.008184/12.2, allocations: 3.989 MB / 4.208 GB, free: 43.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005782/12.21, allocations: 1.195 MB / 4.209 GB, free: 43.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/12.21, allocations: 0 / 4.209 GB, free: 43.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00446/12.21, allocations: 0.9123 MB / 4.21 GB, free: 42.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/12.22, allocations: 408.8 kB / 4.21 GB, free: 42.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/12.22, allocations: 1.409 MB / 4.212 GB, free: 42.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/12.22, allocations: 1.217 MB / 4.213 GB, free: 41.57 MB / 0.6823 GB Notification: Performance of SimCode: time 2.705e-06/12.22, allocations: 2.125 kB / 4.213 GB, free: 41.57 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicit_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_PressureDropsExplicit.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.PressureDropsExplicit.pipe 2>&1)