Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.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.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",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.653/1.653, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001709/0.00171, allocations: 185.2 kB / 366.3 MB, free: 2.012 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.782/1.782, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.00124/0.00124, allocations: 85.8 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3262/0.3275, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/1.121, allocations: 116.3 MB / 0.9726 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.78/5.901, allocations: 2.083 GB / 3.056 GB, free: 355.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/5.901, allocations: 88.33 kB / 3.056 GB, free: 355.6 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 2.753/8.654, allocations: 0.7886 GB / 3.844 GB, free: 178.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/8.655, allocations: 7.031 kB / 3.844 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001819/8.656, allocations: 281.6 kB / 3.845 GB, free: 178.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/8.658, allocations: 0.7978 MB / 3.845 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.891e-05/8.658, allocations: 14.34 kB / 3.845 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/8.658, allocations: 34.75 kB / 3.845 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008451/8.659, allocations: 0.5668 MB / 3.846 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007642/8.66, allocations: 0.5173 MB / 3.847 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/8.66, allocations: 0 / 3.847 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/8.66, allocations: 0 / 3.847 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/8.66, allocations: 11.31 kB / 3.847 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/8.664, allocations: 2.902 MB / 3.849 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/8.664, allocations: 379.6 kB / 3.85 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/8.665, allocations: 262.3 kB / 3.85 GB, free: 177.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006823/8.665, allocations: 0.6443 MB / 3.851 GB, free: 176.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/8.665, allocations: 34.77 kB / 3.851 GB, free: 176.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=39): time 2.164e-06/8.665, allocations: 0 / 3.851 GB, free: 176.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=39): time 0.002092/8.667, allocations: 0.7709 MB / 3.851 GB, free: 176.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/8.667, allocations: 55.19 kB / 3.851 GB, free: 176.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/8.668, allocations: 458.8 kB / 3.852 GB, free: 176.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.221e-05/8.668, allocations: 29.64 kB / 3.852 GB, free: 176.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/8.668, allocations: 255.4 kB / 3.852 GB, free: 176 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/8.668, allocations: 132.1 kB / 3.852 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/8.668, allocations: 0 / 3.852 GB, free: 175.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/8.668, allocations: 381.2 kB / 3.853 GB, free: 175.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/8.669, allocations: 188 kB / 3.853 GB, free: 175.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/8.669, allocations: 305.3 kB / 3.853 GB, free: 175.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005433/8.669, allocations: 305.8 kB / 3.853 GB, free: 175.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/8.669, allocations: 0 / 3.853 GB, free: 175.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009902/8.67, allocations: 0.6279 MB / 3.854 GB, free: 175.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/8.67, allocations: 3.75 kB / 3.854 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/8.67, allocations: 7.531 kB / 3.854 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/8.67, allocations: 0 / 3.854 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/8.671, allocations: 103.8 kB / 3.854 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/8.671, allocations: 13.69 kB / 3.854 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/8.672, allocations: 74 kB / 3.854 GB, free: 175.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/8.672, allocations: 25.73 kB / 3.854 GB, free: 175.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * 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.0001513/8.672, allocations: 113.5 kB / 3.854 GB, free: 175.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/8.673, allocations: 68.53 kB / 3.854 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/8.675, allocations: 0.6733 MB / 3.855 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/8.675, allocations: 3.719 kB / 3.855 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/8.675, allocations: 0 / 3.855 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/8.675, allocations: 7.688 kB / 3.855 GB, free: 175.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003481/8.678, allocations: 1.481 MB / 3.857 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/8.678, allocations: 3.688 kB / 3.857 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007951/8.679, allocations: 95.34 kB / 3.857 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.678e-05/8.679, allocations: 6.906 kB / 3.857 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.729e-05/8.679, allocations: 6.125 kB / 3.857 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/8.679, allocations: 11.47 kB / 3.857 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/8.679, allocations: 14.47 kB / 3.857 GB, free: 174.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002347/8.681, allocations: 1.184 MB / 3.858 GB, free: 174.3 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002427/8.684, allocations: 1.984 MB / 3.86 GB, free: 173.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004284/8.684, allocations: 192.8 kB / 3.86 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/8.684, allocations: 7.312 kB / 3.86 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006386/8.685, allocations: 54.72 kB / 3.86 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.19e-05/8.685, allocations: 31.73 kB / 3.86 GB, free: 173.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.474e-05/8.685, allocations: 20.86 kB / 3.86 GB, free: 173.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004317/8.686, allocations: 358.8 kB / 3.86 GB, free: 173.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002417/8.688, allocations: 0.6091 MB / 3.861 GB, free: 173.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (42): * Single equations (assignments): 42 * 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.003038/8.691, allocations: 2.366 MB / 3.863 GB, free: 172.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007805/8.692, allocations: 462.4 kB / 3.864 GB, free: 172.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/8.692, allocations: 0 / 3.864 GB, free: 172.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003366/8.692, allocations: 250.9 kB / 3.864 GB, free: 172.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/8.694, allocations: 377.9 kB / 3.864 GB, free: 172.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005302/8.7, allocations: 1.474 MB / 3.866 GB, free: 172.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006248/8.7, allocations: 1.058 MB / 3.867 GB, free: 171.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/8.7, allocations: 2.25 kB / 3.867 GB, free: 171.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)