Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.111/2.111, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 184 kB / 490.8 MB, free: 11.22 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.529/1.529, allocations: 221.4 MB / 0.7863 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001032, allocations: 97.58 kB / 0.9264 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 0.3682/0.3692, allocations: 149.1 MB / 1.072 GB, free: 15.47 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8854/1.255, allocations: 143 MB / 1.212 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.242/5.497, allocations: 1.929 GB / 3.14 GB, free: 208.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/5.497, allocations: 89.31 kB / 3.14 GB, free: 208.8 MB / 1.167 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.921/8.418, allocations: 0.7992 GB / 3.94 GB, free: 252.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/8.418, allocations: 10.72 kB / 3.94 GB, free: 252.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/8.42, allocations: 274.6 kB / 3.94 GB, free: 252.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/8.422, allocations: 0.812 MB / 3.941 GB, free: 252.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.38e-05/8.422, allocations: 20.22 kB / 3.941 GB, free: 252.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/8.422, allocations: 30.09 kB / 3.941 GB, free: 252.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001041/8.423, allocations: 0.5617 MB / 3.941 GB, free: 252.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009113/8.424, allocations: 0.5202 MB / 3.942 GB, free: 252.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/8.424, allocations: 0 / 3.942 GB, free: 252.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.559e-05/8.424, allocations: 3.812 kB / 3.942 GB, free: 252.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/8.424, allocations: 11.31 kB / 3.942 GB, free: 252.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/8.429, allocations: 2.911 MB / 3.945 GB, free: 250.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/8.43, allocations: 371.9 kB / 3.945 GB, free: 250.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/8.43, allocations: 275.1 kB / 3.945 GB, free: 250.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000809/8.431, allocations: 0.6382 MB / 3.946 GB, free: 250.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/8.431, allocations: 42.11 kB / 3.946 GB, free: 250.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=39): time 2.916e-06/8.431, allocations: 3.188 kB / 3.946 GB, free: 250.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=39): time 0.002277/8.433, allocations: 0.7642 MB / 3.947 GB, free: 250.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/8.433, allocations: 56.91 kB / 3.947 GB, free: 250 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005514/8.434, allocations: 459 kB / 3.947 GB, free: 249.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.466e-05/8.434, allocations: 25.7 kB / 3.947 GB, free: 249.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/8.434, allocations: 255.1 kB / 3.947 GB, free: 249.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/8.434, allocations: 136 kB / 3.948 GB, free: 249.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/8.434, allocations: 0 / 3.948 GB, free: 249.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001649/8.434, allocations: 379.5 kB / 3.948 GB, free: 249.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002709/8.435, allocations: 187.6 kB / 3.948 GB, free: 249.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/8.435, allocations: 302.6 kB / 3.948 GB, free: 249.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/8.436, allocations: 304 kB / 3.949 GB, free: 249.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/8.436, allocations: 0 / 3.949 GB, free: 249.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001067/8.437, allocations: 0.6284 MB / 3.949 GB, free: 249.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/8.437, allocations: 7.406 kB / 3.949 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/8.437, allocations: 0 / 3.949 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/8.437, allocations: 2.75 kB / 3.949 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/8.437, allocations: 112.2 kB / 3.949 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/8.437, allocations: 3.125 kB / 3.949 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/8.438, allocations: 77.66 kB / 3.949 GB, free: 249.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/8.438, allocations: 25.75 kB / 3.949 GB, free: 249.2 MB / 1.167 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.000113/8.438, allocations: 116.3 kB / 3.95 GB, free: 249.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/8.439, allocations: 68.34 kB / 3.95 GB, free: 249 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001397/8.44, allocations: 0.6727 MB / 3.95 GB, free: 248.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/8.44, allocations: 10.19 kB / 3.95 GB, free: 248.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/8.44, allocations: 3.906 kB / 3.95 GB, free: 248.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/8.44, allocations: 3.844 kB / 3.95 GB, free: 248.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/8.442, allocations: 1.469 MB / 3.952 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/8.442, allocations: 3.25 kB / 3.952 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/8.443, allocations: 99.44 kB / 3.952 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/8.443, allocations: 7 kB / 3.952 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.23e-05/8.443, allocations: 4.688 kB / 3.952 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/8.443, allocations: 7.219 kB / 3.952 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/8.443, allocations: 10.03 kB / 3.952 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001515/8.444, allocations: 1.194 MB / 3.953 GB, free: 247.5 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002182/8.447, allocations: 1.982 MB / 3.955 GB, free: 246.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003065/8.447, allocations: 196.1 kB / 3.955 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/8.447, allocations: 5.812 kB / 3.955 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006394/8.448, allocations: 53.84 kB / 3.955 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/8.448, allocations: 42 kB / 3.955 GB, free: 245.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/8.448, allocations: 14.91 kB / 3.955 GB, free: 245.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0003984/8.448, allocations: 362.1 kB / 3.956 GB, free: 245.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002207/8.45, allocations: 0.6062 MB / 3.956 GB, free: 245.4 MB / 1.167 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.003149/8.454, allocations: 2.365 MB / 3.959 GB, free: 244.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0008424/8.454, allocations: 459.4 kB / 3.959 GB, free: 244.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/8.455, allocations: 3.312 kB / 3.959 GB, free: 244.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/8.455, allocations: 252.5 kB / 3.959 GB, free: 244.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/8.457, allocations: 383.8 kB / 3.96 GB, free: 244.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0052/8.462, allocations: 1.484 MB / 3.961 GB, free: 243.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/8.463, allocations: 1.06 MB / 3.962 GB, free: 243.1 MB / 1.167 GB Notification: Performance of SimCode: time 8.41e-07/8.463, allocations: 0 / 3.962 GB, free: 243.1 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)