Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",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.7404/0.7404, allocations: 127.4 MB / 134.6 MB, free: 4.062 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.001342/0.001342, allocations: 195.7 kB / 164.4 MB, free: 6.875 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.88/1.88, allocations: 205.1 MB / 399.1 MB, free: 6.086 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.00104/0.00104, allocations: 93.39 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.326/0.3271, allocations: 82.88 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.5097, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.411/5.92, allocations: 2.158 GB / 2.779 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/5.921, allocations: 91.94 kB / 2.779 GB, free: 7.82 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 4.549/10.47, allocations: 0.9117 GB / 3.691 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/10.47, allocations: 11.25 kB / 3.691 GB, free: 83.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003564/10.47, allocations: 419.2 kB / 3.692 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003675/10.48, allocations: 1.185 MB / 3.693 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.451e-05/10.48, allocations: 23.03 kB / 3.693 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003528/10.48, allocations: 53.97 kB / 3.693 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001901/10.48, allocations: 0.7446 MB / 3.694 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/10.48, allocations: 0.7342 MB / 3.694 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/10.48, allocations: 0 / 3.694 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/10.48, allocations: 3.906 kB / 3.694 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.591e-05/10.48, allocations: 28.41 kB / 3.694 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005994/10.49, allocations: 3.712 MB / 3.698 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/10.49, allocations: 0.6047 MB / 3.699 GB, free: 81.26 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/10.49, allocations: 360.1 kB / 3.699 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000829/10.49, allocations: 0.642 MB / 3.7 GB, free: 80.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/10.49, allocations: 40.09 kB / 3.7 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=59): time 3.577e-06/10.49, allocations: 3.938 kB / 3.7 GB, free: 80.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59): time 0.003476/10.49, allocations: 0.9661 MB / 3.701 GB, free: 80.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.79e-05/10.49, allocations: 61.48 kB / 3.701 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/10.49, allocations: 0.5565 MB / 3.701 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/10.49, allocations: 36.3 kB / 3.701 GB, free: 80.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/10.5, allocations: 344.2 kB / 3.701 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000222/10.5, allocations: 202.1 kB / 3.702 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/10.5, allocations: 0 / 3.702 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/10.5, allocations: 327.1 kB / 3.702 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003453/10.5, allocations: 238.2 kB / 3.702 GB, free: 79.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004122/10.5, allocations: 375.7 kB / 3.703 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007216/10.5, allocations: 380 kB / 3.703 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/10.5, allocations: 0 / 3.703 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001396/10.5, allocations: 0.783 MB / 3.704 GB, free: 79.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.997e-05/10.5, allocations: 366.2 kB / 3.704 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/10.5, allocations: 3.656 kB / 3.704 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/10.5, allocations: 3.781 kB / 3.704 GB, free: 78.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007882/10.5, allocations: 144.6 kB / 3.704 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/10.5, allocations: 3.562 kB / 3.704 GB, free: 78.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/10.5, allocations: 114.9 kB / 3.704 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.803e-05/10.5, allocations: 22.61 kB / 3.704 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/10.5, allocations: 3.75 kB / 3.704 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/10.5, allocations: 0.6385 MB / 3.705 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/10.5, allocations: 0 / 3.705 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-06/10.5, allocations: 6.25 kB / 3.705 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/10.5, allocations: 127.1 kB / 3.705 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/10.5, allocations: 3.719 kB / 3.705 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/10.5, allocations: 106.4 kB / 3.705 GB, free: 78.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/10.5, allocations: 29.23 kB / 3.705 GB, free: 78.9 MB / 0.6823 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 (68): * Single equations (assignments): 68 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001922/10.5, allocations: 108.5 kB / 3.705 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/10.5, allocations: 96.12 kB / 3.705 GB, free: 78.74 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/10.51, allocations: 0.8152 MB / 3.706 GB, free: 78.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.964e-06/10.51, allocations: 7.719 kB / 3.706 GB, free: 78.68 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/10.51, allocations: 0 / 3.706 GB, free: 78.68 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/10.51, allocations: 0.9659 MB / 3.707 GB, free: 78.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003595/10.51, allocations: 1.963 MB / 3.709 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/10.51, allocations: 3.906 kB / 3.709 GB, free: 77.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/10.51, allocations: 160 kB / 3.709 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/10.51, allocations: 7.875 kB / 3.709 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/10.51, allocations: 10.16 kB / 3.709 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/10.51, allocations: 11.09 kB / 3.709 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/10.51, allocations: 7.719 kB / 3.709 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002098/10.51, allocations: 1.469 MB / 3.711 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00376/10.52, allocations: 2.385 MB / 3.713 GB, free: 76.42 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006836/10.52, allocations: 251.4 kB / 3.713 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002883/10.52, allocations: 8.359 kB / 3.713 GB, free: 76.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/10.52, allocations: 91.17 kB / 3.713 GB, free: 76.22 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/10.52, allocations: 46.55 kB / 3.713 GB, free: 76.21 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.41e-05/10.52, allocations: 26.72 kB / 3.713 GB, free: 76.21 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001019/10.52, allocations: 448.8 kB / 3.714 GB, free: 76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005914/10.53, allocations: 1.266 MB / 3.715 GB, free: 75.21 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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 (59): * Single equations (assignments): 59 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005826/10.53, allocations: 2.629 MB / 3.718 GB, free: 74.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002253/10.54, allocations: 0.946 MB / 3.719 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/10.54, allocations: 1.062 kB / 3.719 GB, free: 73.95 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007027/10.54, allocations: 336.2 kB / 3.719 GB, free: 73.83 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003315/10.54, allocations: 488.6 kB / 3.719 GB, free: 73.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/10.55, allocations: 1.763 MB / 3.721 GB, free: 73.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/10.55, allocations: 1.247 MB / 3.722 GB, free: 72.28 MB / 0.6823 GB Notification: Performance of SimCode: time 1.403e-06/10.55, allocations: 0 / 3.722 GB, free: 72.28 MB / 0.6823 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)