Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FlowJunctionSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.001307/0.001307, allocations: 191.4 kB / 7.806 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4587/0.4587, allocations: 90.84 MB / 99.07 MB, free: 14.93 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.309/1.309, allocations: 221.4 MB / 342.8 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.001046/0.001046, allocations: 101.6 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1986/0.1997, allocations: 78.44 MB / 494 MB, free: 7.984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.6196, allocations: 72.3 MB / 0.553 GB, free: 73.34 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.854/4.474, allocations: 1.881 GB / 2.433 GB, free: 180.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/4.474, allocations: 87.95 kB / 2.434 GB, free: 180.1 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 2.611/7.085, allocations: 0.8025 GB / 3.236 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/7.085, allocations: 12 kB / 3.236 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/7.087, allocations: 266.6 kB / 3.236 GB, free: 51.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002548/7.09, allocations: 0.8164 MB / 3.237 GB, free: 50.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/7.09, allocations: 12 kB / 3.237 GB, free: 50.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/7.09, allocations: 43.84 kB / 3.237 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001027/7.091, allocations: 0.5682 MB / 3.238 GB, free: 49.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009383/7.092, allocations: 0.5276 MB / 3.238 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/7.092, allocations: 0 / 3.238 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/7.092, allocations: 7.984 kB / 3.238 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/7.092, allocations: 12 kB / 3.238 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/7.096, allocations: 2.646 MB / 3.241 GB, free: 46.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/7.097, allocations: 483.6 kB / 3.241 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/7.098, allocations: 335 kB / 3.242 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/7.098, allocations: 0.6393 MB / 3.242 GB, free: 44.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/7.098, allocations: 45.78 kB / 3.242 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/7.098, allocations: 0 / 3.242 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45): time 0.002682/7.101, allocations: 0.951 MB / 3.243 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/7.101, allocations: 55.41 kB / 3.243 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005621/7.102, allocations: 463.8 kB / 3.244 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.075e-05/7.102, allocations: 25.7 kB / 3.244 GB, free: 43.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/7.102, allocations: 240.8 kB / 3.244 GB, free: 42.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/7.102, allocations: 153.7 kB / 3.244 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/7.102, allocations: 0 / 3.244 GB, free: 42.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001035/7.102, allocations: 382.7 kB / 3.244 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/7.102, allocations: 232.8 kB / 3.245 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/7.103, allocations: 343.8 kB / 3.245 GB, free: 41.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006157/7.103, allocations: 356.4 kB / 3.245 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/7.103, allocations: 0 / 3.245 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001421/7.105, allocations: 0.7905 MB / 3.246 GB, free: 40.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.21e-05/7.105, allocations: 281.3 kB / 3.246 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/7.105, allocations: 0 / 3.246 GB, free: 40.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002281/7.105, allocations: 55.78 kB / 3.246 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005358/7.106, allocations: 103.9 kB / 3.247 GB, free: 40.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004757/7.106, allocations: 0.6525 MB / 3.247 GB, free: 39.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008582/7.107, allocations: 79.67 kB / 3.247 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.14e-05/7.107, allocations: 31.98 kB / 3.247 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/7.107, allocations: 4 kB / 3.247 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/7.108, allocations: 0.6658 MB / 3.248 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/7.108, allocations: 0 / 3.248 GB, free: 38.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000198/7.109, allocations: 63.39 kB / 3.248 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000526/7.109, allocations: 95.86 kB / 3.248 GB, free: 38.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/7.111, allocations: 1.631 MB / 3.25 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/7.111, allocations: 75.69 kB / 3.25 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.669e-05/7.111, allocations: 19.98 kB / 3.25 GB, free: 36.73 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001545/7.112, allocations: 120.9 kB / 3.25 GB, free: 36.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/7.112, allocations: 71.16 kB / 3.25 GB, free: 36.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/7.113, allocations: 0.8435 MB / 3.251 GB, free: 35.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/7.113, allocations: 4 kB / 3.251 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/7.113, allocations: 0 / 3.251 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/7.113, allocations: 3.984 kB / 3.251 GB, free: 35.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002741/7.116, allocations: 1.675 MB / 3.252 GB, free: 33.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/7.116, allocations: 8 kB / 3.252 GB, free: 33.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004968/7.117, allocations: 100.2 kB / 3.253 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001211/7.117, allocations: 52.78 kB / 3.253 GB, free: 33.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/7.117, allocations: 4 kB / 3.253 GB, free: 33.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003319/7.117, allocations: 0.614 MB / 3.253 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/7.117, allocations: 7.906 kB / 3.253 GB, free: 33.12 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001638/7.119, allocations: 1.309 MB / 3.254 GB, free: 31.67 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00251/7.121, allocations: 2.12 MB / 3.257 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/7.122, allocations: 208 kB / 3.257 GB, free: 29.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/7.122, allocations: 8 kB / 3.257 GB, free: 29.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008515/7.123, allocations: 91.8 kB / 3.257 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/7.123, allocations: 35.89 kB / 3.257 GB, free: 29.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/7.123, allocations: 20 kB / 3.257 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004833/7.124, allocations: 363.2 kB / 3.257 GB, free: 28.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004344/7.128, allocations: 1.062 MB / 3.258 GB, free: 27.62 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0033/7.131, allocations: 2.388 MB / 3.261 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001569/7.133, allocations: 0.9723 MB / 3.262 GB, free: 24.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/7.133, allocations: 0 / 3.262 GB, free: 24.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004571/7.133, allocations: 280.3 kB / 3.262 GB, free: 24.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/7.136, allocations: 451.1 kB / 3.262 GB, free: 23.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/7.141, allocations: 1.542 MB / 3.264 GB, free: 22.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006504/7.142, allocations: 1.061 MB / 3.265 GB, free: 21 MB / 0.6042 GB Notification: Performance of SimCode: time 8.71e-07/7.142, allocations: 0 / 3.265 GB, free: 21 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)