Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.109/2.109, allocations: 387.2 MB / 394.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 184.6 kB / 487 MB, free: 5.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.3 MB / 0.7819 GB, free: 1.414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 99.58 kB / 0.9213 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.7527/0.754, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/1.049, allocations: 142.3 MB / 1.205 GB, free: 26.2 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.223/5.272, allocations: 1.927 GB / 3.132 GB, free: 390.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/5.273, allocations: 91.94 kB / 3.133 GB, free: 390.3 MB / 1.151 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.925/8.198, allocations: 0.9326 GB / 4.065 GB, free: 217 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/8.198, allocations: 7.375 kB / 4.065 GB, free: 217 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002837/8.201, allocations: 420.8 kB / 4.066 GB, free: 216.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/8.203, allocations: 1.106 MB / 4.067 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/8.203, allocations: 29.66 kB / 4.067 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/8.203, allocations: 53.28 kB / 4.067 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001285/8.205, allocations: 0.7421 MB / 4.067 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/8.206, allocations: 0.7307 MB / 4.068 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/8.206, allocations: 0 / 4.068 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.265e-05/8.206, allocations: 0 / 4.068 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.652e-05/8.206, allocations: 27.28 kB / 4.068 GB, free: 216.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004801/8.211, allocations: 4.001 MB / 4.072 GB, free: 214.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008744/8.212, allocations: 0.5769 MB / 4.073 GB, free: 214.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000416/8.212, allocations: 376.4 kB / 4.073 GB, free: 214.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/8.213, allocations: 0.6433 MB / 4.074 GB, free: 214 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/8.213, allocations: 45.19 kB / 4.074 GB, free: 214 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 3.116e-06/8.213, allocations: 0 / 4.074 GB, free: 214 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.002625/8.215, allocations: 0.9104 MB / 4.075 GB, free: 213.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.869e-05/8.215, allocations: 57.59 kB / 4.075 GB, free: 213.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/8.216, allocations: 0.6033 MB / 4.075 GB, free: 213.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/8.216, allocations: 28.95 kB / 4.075 GB, free: 213.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/8.217, allocations: 339 kB / 4.076 GB, free: 213.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/8.217, allocations: 204.1 kB / 4.076 GB, free: 213.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/8.217, allocations: 0 / 4.076 GB, free: 213.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.498e-05/8.217, allocations: 327.9 kB / 4.076 GB, free: 213.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003235/8.217, allocations: 238.3 kB / 4.076 GB, free: 213.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004071/8.218, allocations: 377.4 kB / 4.077 GB, free: 213 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006977/8.218, allocations: 380.2 kB / 4.077 GB, free: 213 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/8.218, allocations: 3.938 kB / 4.077 GB, free: 213 MB / 1.151 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001241/8.22, allocations: 0.7804 MB / 4.078 GB, free: 212.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/8.22, allocations: 460.9 kB / 4.078 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/8.22, allocations: 0 / 4.078 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/8.22, allocations: 9.938 kB / 4.078 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006779/8.22, allocations: 137.3 kB / 4.078 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/8.22, allocations: 4.766 kB / 4.078 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/8.222, allocations: 125.6 kB / 4.079 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/8.222, allocations: 23.77 kB / 4.079 GB, free: 212.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/8.222, allocations: 3.812 kB / 4.079 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00106/8.223, allocations: 0.654 MB / 4.079 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/8.223, allocations: 0 / 4.079 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.731e-06/8.223, allocations: 7.156 kB / 4.079 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/8.223, allocations: 130.6 kB / 4.079 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/8.223, allocations: 3.875 kB / 4.079 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009799/8.224, allocations: 124.7 kB / 4.079 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.446e-05/8.224, allocations: 23.03 kB / 4.079 GB, free: 212.4 MB / 1.151 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.0001627/8.225, allocations: 114 kB / 4.08 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/8.225, allocations: 101.2 kB / 4.08 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/8.226, allocations: 0.8194 MB / 4.08 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/8.226, allocations: 9.469 kB / 4.08 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/8.226, allocations: 0 / 4.08 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/8.227, allocations: 0.9771 MB / 4.081 GB, free: 211.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003333/8.231, allocations: 2.013 MB / 4.083 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/8.231, allocations: 3.812 kB / 4.083 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/8.231, allocations: 153 kB / 4.084 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/8.231, allocations: 3.375 kB / 4.084 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.946e-05/8.231, allocations: 15.72 kB / 4.084 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/8.231, allocations: 9.344 kB / 4.084 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/8.232, allocations: 3.406 kB / 4.084 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001593/8.233, allocations: 1.383 MB / 4.085 GB, free: 210.8 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002485/8.236, allocations: 2.263 MB / 4.087 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/8.236, allocations: 257.8 kB / 4.087 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/8.236, allocations: 7.25 kB / 4.087 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009878/8.237, allocations: 118.5 kB / 4.088 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/8.237, allocations: 45.28 kB / 4.088 GB, free: 209.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/8.237, allocations: 26.81 kB / 4.088 GB, free: 209.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0005921/8.238, allocations: 476.4 kB / 4.088 GB, free: 209.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003963/8.242, allocations: 1.293 MB / 4.089 GB, free: 209.6 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,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.003092/8.245, allocations: 2.591 MB / 4.092 GB, free: 208.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001446/8.247, allocations: 0.9464 MB / 4.093 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/8.247, allocations: 0 / 4.093 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004083/8.247, allocations: 325.7 kB / 4.093 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003175/8.25, allocations: 0.583 MB / 4.094 GB, free: 208.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/8.253, allocations: 1.745 MB / 4.095 GB, free: 208.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008804/8.254, allocations: 1.258 MB / 4.097 GB, free: 207.5 MB / 1.151 GB Notification: Performance of SimCode: time 8.81e-07/8.254, allocations: 0 / 4.097 GB, free: 207.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)