Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.001208/0.001208, allocations: 185.2 kB / 366.3 MB, free: 1.949 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.654/1.654, allocations: 205.1 MB / 0.6256 GB, free: 7.445 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.0009286/0.0009286, allocations: 87.97 kB / 0.7395 GB, free: 39.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2978/0.2987, allocations: 122.4 MB / 0.8591 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7563/1.055, allocations: 116.3 MB / 0.9726 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.501/5.556, allocations: 2.082 GB / 3.055 GB, free: 26.25 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/5.557, allocations: 90.97 kB / 3.055 GB, free: 26.16 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 3.545/9.102, allocations: 0.9184 GB / 3.973 GB, free: 158.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/9.102, allocations: 9.875 kB / 3.974 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/9.105, allocations: 415.8 kB / 3.974 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/9.109, allocations: 1.095 MB / 3.975 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/9.109, allocations: 24.53 kB / 3.975 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/9.109, allocations: 59.14 kB / 3.975 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001491/9.11, allocations: 0.7333 MB / 3.976 GB, free: 157.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/9.112, allocations: 0.7327 MB / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/9.112, allocations: 0 / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.563e-05/9.112, allocations: 3.516 kB / 3.976 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.784e-05/9.112, allocations: 28.06 kB / 3.977 GB, free: 157.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005515/9.117, allocations: 3.782 MB / 3.98 GB, free: 155 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/9.118, allocations: 0.5828 MB / 3.981 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/9.119, allocations: 378.4 kB / 3.981 GB, free: 154.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007658/9.12, allocations: 0.6445 MB / 3.982 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/9.12, allocations: 39.75 kB / 3.982 GB, free: 154 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.677e-06/9.12, allocations: 0 / 3.982 GB, free: 154 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002688/9.122, allocations: 0.9129 MB / 3.983 GB, free: 153.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/9.123, allocations: 57.59 kB / 3.983 GB, free: 153.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/9.123, allocations: 0.5928 MB / 3.983 GB, free: 153.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/9.123, allocations: 28.33 kB / 3.983 GB, free: 153.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/9.124, allocations: 340.9 kB / 3.984 GB, free: 153.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/9.124, allocations: 206.3 kB / 3.984 GB, free: 152.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/9.124, allocations: 0 / 3.984 GB, free: 152.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.982e-05/9.124, allocations: 325.9 kB / 3.984 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/9.124, allocations: 244.6 kB / 3.984 GB, free: 152.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004449/9.125, allocations: 381.4 kB / 3.985 GB, free: 152.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007261/9.125, allocations: 384.7 kB / 3.985 GB, free: 152.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/9.125, allocations: 2.781 kB / 3.985 GB, free: 152.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001331/9.127, allocations: 0.7803 MB / 3.986 GB, free: 151.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/9.127, allocations: 450 kB / 3.986 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/9.127, allocations: 5.938 kB / 3.986 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/9.127, allocations: 7.812 kB / 3.986 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/9.128, allocations: 135 kB / 3.986 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/9.128, allocations: 5.406 kB / 3.986 GB, free: 151.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/9.129, allocations: 111.1 kB / 3.987 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.579e-05/9.129, allocations: 27.16 kB / 3.987 GB, free: 151.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.327e-06/9.129, allocations: 4.438 kB / 3.987 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/9.13, allocations: 0.6443 MB / 3.987 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/9.13, allocations: 0.6875 kB / 3.987 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.591e-06/9.13, allocations: 3.969 kB / 3.987 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/9.131, allocations: 137 kB / 3.987 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/9.131, allocations: 2.906 kB / 3.987 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/9.132, allocations: 116.9 kB / 3.988 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/9.132, allocations: 27.08 kB / 3.988 GB, free: 151.1 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.0002263/9.132, allocations: 116.8 kB / 3.988 GB, free: 151 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001966/9.133, allocations: 97.62 kB / 3.988 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/9.134, allocations: 0.8098 MB / 3.989 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/9.134, allocations: 8.875 kB / 3.989 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/9.134, allocations: 0 / 3.989 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00126/9.135, allocations: 0.979 MB / 3.989 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003932/9.139, allocations: 2.002 MB / 3.991 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/9.139, allocations: 2.969 kB / 3.991 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007942/9.14, allocations: 152.4 kB / 3.992 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/9.14, allocations: 5.969 kB / 3.992 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.799e-05/9.14, allocations: 16.75 kB / 3.992 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.929e-06/9.14, allocations: 10.72 kB / 3.992 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/9.14, allocations: 6.156 kB / 3.992 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001941/9.142, allocations: 1.44 MB / 3.993 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002907/9.145, allocations: 2.324 MB / 3.995 GB, free: 146.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006328/9.146, allocations: 257.2 kB / 3.996 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/9.146, allocations: 12.48 kB / 3.996 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/9.147, allocations: 122.5 kB / 3.996 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/9.147, allocations: 50.25 kB / 3.996 GB, free: 146.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.392e-05/9.147, allocations: 22.12 kB / 3.996 GB, free: 146.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006601/9.148, allocations: 476.1 kB / 3.996 GB, free: 146.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004532/9.153, allocations: 1.288 MB / 3.997 GB, free: 145.3 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.003787/9.156, allocations: 2.589 MB / 4 GB, free: 144.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001781/9.158, allocations: 0.9384 MB / 4.001 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/9.158, allocations: 0 / 4.001 GB, free: 144.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004953/9.159, allocations: 323.5 kB / 4.001 GB, free: 144 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003817/9.162, allocations: 0.6012 MB / 4.002 GB, free: 143.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004004/9.166, allocations: 1.738 MB / 4.004 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/9.168, allocations: 1.261 MB / 4.005 GB, free: 142.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.492e-06/9.168, allocations: 0 / 4.005 GB, free: 142.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)