Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FlowJunctionSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="BuildSysPro_BuildSysPro_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/BuildSysPro 3.5.0/package.mo): time 0.7333/0.7333, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001261/0.001261, allocations: 185.3 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 1.755/1.755, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.0009438/0.0009439, allocations: 89.36 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.351/0.352, allocations: 82.89 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.558, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.582/6.14, allocations: 2.158 GB / 2.779 GB, free: 52.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/6.14, allocations: 91.94 kB / 2.779 GB, free: 52.8 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 3.419/9.56, allocations: 0.784 GB / 3.564 GB, free: 86.26 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/9.56, allocations: 11.53 kB / 3.564 GB, free: 86.26 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/9.562, allocations: 267.7 kB / 3.564 GB, free: 86.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/9.564, allocations: 0.824 MB / 3.565 GB, free: 85.95 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/9.564, allocations: 20.31 kB / 3.565 GB, free: 85.95 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/9.564, allocations: 33.03 kB / 3.565 GB, free: 85.95 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009733/9.565, allocations: 0.5814 MB / 3.565 GB, free: 85.95 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008599/9.566, allocations: 0.5251 MB / 3.566 GB, free: 85.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/9.566, allocations: 0 / 3.566 GB, free: 85.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.459e-05/9.566, allocations: 0 / 3.566 GB, free: 85.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/9.566, allocations: 16.78 kB / 3.566 GB, free: 85.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/9.57, allocations: 2.643 MB / 3.568 GB, free: 84.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000845/9.571, allocations: 0.5029 MB / 3.569 GB, free: 84.65 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/9.571, allocations: 326.5 kB / 3.569 GB, free: 84.64 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007911/9.572, allocations: 0.6376 MB / 3.57 GB, free: 83.98 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/9.572, allocations: 34.44 kB / 3.57 GB, free: 83.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=44): time 2.896e-06/9.572, allocations: 3.5 kB / 3.57 GB, free: 83.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=44): time 0.007674/9.579, allocations: 1.557 MB / 3.571 GB, free: 83.86 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/9.58, allocations: 62.62 kB / 3.571 GB, free: 83.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006625/9.58, allocations: 447.8 kB / 3.572 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/9.58, allocations: 29.3 kB / 3.572 GB, free: 83.64 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/9.58, allocations: 235.9 kB / 3.572 GB, free: 83.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/9.581, allocations: 150.5 kB / 3.572 GB, free: 83.45 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/9.581, allocations: 0 / 3.572 GB, free: 83.45 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001036/9.581, allocations: 378.6 kB / 3.573 GB, free: 83.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/9.581, allocations: 258.5 kB / 3.573 GB, free: 83.13 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004069/9.582, allocations: 364.3 kB / 3.573 GB, free: 83.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/9.582, allocations: 368.7 kB / 3.574 GB, free: 83.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/9.582, allocations: 0 / 3.574 GB, free: 83.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.005702/9.588, allocations: 1.308 MB / 3.575 GB, free: 82.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.165e-05/9.588, allocations: 185.5 kB / 3.575 GB, free: 82.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/9.588, allocations: 3.938 kB / 3.575 GB, free: 82.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003775/9.589, allocations: 120 kB / 3.575 GB, free: 82.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/9.589, allocations: 98.03 kB / 3.575 GB, free: 82.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001312/9.59, allocations: 0.8163 MB / 3.576 GB, free: 82.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/9.592, allocations: 99.95 kB / 3.576 GB, free: 82.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/9.592, allocations: 31.05 kB / 3.576 GB, free: 82.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.424e-06/9.592, allocations: 3.75 kB / 3.576 GB, free: 82.21 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001267/9.593, allocations: 0.6632 MB / 3.577 GB, free: 82.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/9.593, allocations: 0 / 3.577 GB, free: 82.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002153/9.593, allocations: 64.69 kB / 3.577 GB, free: 82.18 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005315/9.594, allocations: 102.9 kB / 3.577 GB, free: 82.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001497/9.595, allocations: 1.617 MB / 3.578 GB, free: 80.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/9.596, allocations: 76.41 kB / 3.579 GB, free: 80.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/9.596, allocations: 24.69 kB / 3.579 GB, free: 80.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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.0001959/9.597, allocations: 107.4 kB / 3.579 GB, free: 80.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/9.597, allocations: 68.25 kB / 3.579 GB, free: 80.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005404/9.602, allocations: 1.264 MB / 3.58 GB, free: 80.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/9.602, allocations: 14.34 kB / 3.58 GB, free: 80.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/9.602, allocations: 2.844 kB / 3.58 GB, free: 80.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/9.602, allocations: 3.422 kB / 3.58 GB, free: 80.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006966/9.609, allocations: 2.111 MB / 3.582 GB, free: 80.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/9.609, allocations: 0 / 3.582 GB, free: 80.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/9.61, allocations: 90.47 kB / 3.582 GB, free: 80.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/9.61, allocations: 125.4 kB / 3.582 GB, free: 80.31 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.777e-05/9.61, allocations: 6.359 kB / 3.582 GB, free: 80.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009264/9.619, allocations: 2.709 MB / 3.585 GB, free: 79.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.496e-06/9.62, allocations: 7.688 kB / 3.585 GB, free: 79.03 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005958/9.625, allocations: 1.823 MB / 3.587 GB, free: 78.54 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007057/9.633, allocations: 2.68 MB / 3.589 GB, free: 77.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000528/9.633, allocations: 155.8 kB / 3.589 GB, free: 77.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/9.633, allocations: 6.5 kB / 3.589 GB, free: 77.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/9.635, allocations: 88.19 kB / 3.59 GB, free: 77.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/9.635, allocations: 32.72 kB / 3.59 GB, free: 77.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/9.635, allocations: 26.91 kB / 3.59 GB, free: 77.55 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005488/9.635, allocations: 357.4 kB / 3.59 GB, free: 77.45 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.005117/9.64, allocations: 1.08 MB / 3.591 GB, free: 77.43 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 40 * 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.004785/9.645, allocations: 2.4 MB / 3.593 GB, free: 76.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002972/9.648, allocations: 1.071 MB / 3.594 GB, free: 76.62 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/9.648, allocations: 5.125 kB / 3.594 GB, free: 76.62 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/9.65, allocations: 478.3 kB / 3.595 GB, free: 76.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/9.652, allocations: 403.9 kB / 3.595 GB, free: 76.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/9.659, allocations: 1.617 MB / 3.597 GB, free: 76.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00109/9.66, allocations: 1.059 MB / 3.598 GB, free: 75.43 MB / 0.6511 GB Notification: Performance of SimCode: time 1.843e-06/9.66, allocations: 0 / 3.598 GB, free: 75.43 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)