Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.428/1.428, allocations: 285.5 MB / 292.8 MB, free: 10.43 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001067, allocations: 181.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.159/1.159, allocations: 205.2 MB / 0.6195 GB, free: 10.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007797/0.0007797, allocations: 97.47 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1916/0.1924, allocations: 121.4 MB / 0.8511 GB, free: 2.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4661/0.6585, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.877/3.536, allocations: 2.081 GB / 3.045 GB, free: 78.32 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/3.536, allocations: 90.95 kB / 3.045 GB, free: 78.24 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 2.782/6.318, allocations: 0.9184 GB / 3.964 GB, free: 158.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/6.318, allocations: 13.94 kB / 3.964 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/6.322, allocations: 422.3 kB / 3.964 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/6.325, allocations: 1.09 MB / 3.965 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/6.325, allocations: 22.66 kB / 3.965 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003064/6.325, allocations: 52.09 kB / 3.965 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001632/6.327, allocations: 0.7472 MB / 3.966 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/6.328, allocations: 0.7271 MB / 3.967 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/6.328, allocations: 3.891 kB / 3.967 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/6.328, allocations: 0 / 3.967 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/6.328, allocations: 33.81 kB / 3.967 GB, free: 157.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005496/6.334, allocations: 3.789 MB / 3.97 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009316/6.335, allocations: 0.5769 MB / 3.971 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/6.335, allocations: 371 kB / 3.971 GB, free: 156.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006961/6.336, allocations: 0.646 MB / 3.972 GB, free: 155.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/6.336, allocations: 37.22 kB / 3.972 GB, free: 155.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.444e-06/6.336, allocations: 3.875 kB / 3.972 GB, free: 155.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002633/6.339, allocations: 0.9151 MB / 3.973 GB, free: 155.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/6.339, allocations: 55.56 kB / 3.973 GB, free: 155.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/6.34, allocations: 0.5975 MB / 3.973 GB, free: 155.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/6.34, allocations: 33.02 kB / 3.974 GB, free: 155.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/6.34, allocations: 330.2 kB / 3.974 GB, free: 155 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/6.34, allocations: 208.7 kB / 3.974 GB, free: 154.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.121e-05/6.34, allocations: 0 / 3.974 GB, free: 154.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.924e-05/6.34, allocations: 331.2 kB / 3.974 GB, free: 154.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003231/6.34, allocations: 241.4 kB / 3.975 GB, free: 154.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004049/6.341, allocations: 379.8 kB / 3.975 GB, free: 154.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/6.342, allocations: 380.3 kB / 3.975 GB, free: 154.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/6.342, allocations: 0 / 3.975 GB, free: 154.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001306/6.343, allocations: 0.7825 MB / 3.976 GB, free: 154.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001039/6.343, allocations: 452.1 kB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/6.343, allocations: 0 / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/6.343, allocations: 3.812 kB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/6.344, allocations: 139.2 kB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.47e-05/6.344, allocations: 3.094 kB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001111/6.345, allocations: 114.5 kB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.751e-05/6.345, allocations: 26.27 kB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/6.345, allocations: 7.688 kB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/6.346, allocations: 0.6458 MB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/6.346, allocations: 2.906 kB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/6.346, allocations: 7.844 kB / 3.977 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/6.347, allocations: 139.8 kB / 3.978 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/6.347, allocations: 3.219 kB / 3.978 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/6.348, allocations: 107.6 kB / 3.978 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.156e-05/6.348, allocations: 27.62 kB / 3.978 GB, free: 153.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001598/6.348, allocations: 119 kB / 3.978 GB, free: 153.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/6.348, allocations: 92.84 kB / 3.978 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/6.35, allocations: 0.815 MB / 3.979 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/6.35, allocations: 3.969 kB / 3.979 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/6.35, allocations: 3.062 kB / 3.979 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/6.351, allocations: 0.9821 MB / 3.98 GB, free: 153.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/6.355, allocations: 2 MB / 3.982 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/6.355, allocations: 3 kB / 3.982 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009071/6.356, allocations: 160.6 kB / 3.982 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.559e-05/6.356, allocations: 7.906 kB / 3.982 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.234e-05/6.356, allocations: 14.94 kB / 3.982 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/6.356, allocations: 10.69 kB / 3.982 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/6.356, allocations: 3.531 kB / 3.982 GB, free: 152.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001772/6.358, allocations: 1.44 MB / 3.983 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00263/6.36, allocations: 2.323 MB / 3.985 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006273/6.361, allocations: 254.2 kB / 3.986 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/6.361, allocations: 16.78 kB / 3.986 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/6.362, allocations: 124.1 kB / 3.986 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/6.363, allocations: 39.69 kB / 3.986 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.964e-05/6.363, allocations: 21.12 kB / 3.986 GB, free: 151.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000817/6.363, allocations: 475.2 kB / 3.986 GB, free: 151.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004619/6.368, allocations: 1.298 MB / 3.988 GB, free: 151.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 63 * 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.003779/6.372, allocations: 2.589 MB / 3.99 GB, free: 150.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001721/6.374, allocations: 0.9393 MB / 3.991 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/6.374, allocations: 1.281 kB / 3.991 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005282/6.374, allocations: 322.5 kB / 3.991 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003416/6.378, allocations: 0.5868 MB / 3.992 GB, free: 150.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/6.382, allocations: 1.741 MB / 3.994 GB, free: 149.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/6.383, allocations: 1.252 MB / 3.995 GB, free: 149 MB / 0.948 GB Notification: Performance of SimCode: time 8.12e-07/6.383, allocations: 0 / 3.995 GB, free: 149 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)