Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",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.368/1.368, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009838/0.0009838, allocations: 177.2 kB / 361.1 MB, free: 7.086 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.127/1.127, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008147/0.0008147, allocations: 88.52 kB / 0.7326 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2159/0.2168, allocations: 121.4 MB / 0.8511 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5315/0.7483, allocations: 115.3 MB / 0.9638 GB, free: 78.05 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.27/4.018, allocations: 2.081 GB / 3.045 GB, free: 54.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001943/4.019, allocations: 95.88 kB / 3.045 GB, free: 54.21 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 2.526/6.545, allocations: 0.7918 GB / 3.837 GB, free: 168.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/6.545, allocations: 7.281 kB / 3.837 GB, free: 168.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/6.547, allocations: 285.7 kB / 3.837 GB, free: 168.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001563/6.549, allocations: 0.803 MB / 3.838 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/6.549, allocations: 16.88 kB / 3.838 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.205e-05/6.549, allocations: 36.62 kB / 3.838 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008464/6.549, allocations: 0.579 MB / 3.839 GB, free: 168.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007574/6.55, allocations: 0.5291 MB / 3.839 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/6.55, allocations: 0 / 3.839 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/6.55, allocations: 0 / 3.839 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/6.55, allocations: 15.19 kB / 3.839 GB, free: 168.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003224/6.554, allocations: 2.646 MB / 3.842 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/6.554, allocations: 479 kB / 3.842 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/6.555, allocations: 336.2 kB / 3.843 GB, free: 167.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007112/6.555, allocations: 0.6345 MB / 3.843 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/6.555, allocations: 44.5 kB / 3.843 GB, free: 166.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/6.555, allocations: 0 / 3.843 GB, free: 166.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.002419/6.558, allocations: 0.9503 MB / 3.844 GB, free: 166.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/6.558, allocations: 54.91 kB / 3.844 GB, free: 166.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/6.558, allocations: 466.8 kB / 3.845 GB, free: 166.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/6.558, allocations: 25.7 kB / 3.845 GB, free: 166.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/6.559, allocations: 233.3 kB / 3.845 GB, free: 166.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/6.559, allocations: 159 kB / 3.845 GB, free: 166.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/6.559, allocations: 0 / 3.845 GB, free: 166.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001039/6.559, allocations: 382.2 kB / 3.845 GB, free: 165.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002702/6.559, allocations: 232.6 kB / 3.846 GB, free: 165.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/6.559, allocations: 353.2 kB / 3.846 GB, free: 165.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005837/6.56, allocations: 360.2 kB / 3.846 GB, free: 165.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/6.56, allocations: 0 / 3.846 GB, free: 165.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001293/6.561, allocations: 0.796 MB / 3.847 GB, free: 165.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/6.561, allocations: 274.7 kB / 3.847 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/6.561, allocations: 0 / 3.847 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/6.562, allocations: 53.11 kB / 3.847 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005158/6.562, allocations: 103.4 kB / 3.848 GB, free: 165.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004241/6.563, allocations: 0.6537 MB / 3.848 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008196/6.563, allocations: 81.33 kB / 3.848 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/6.564, allocations: 22.75 kB / 3.848 GB, free: 164.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/6.564, allocations: 3.812 kB / 3.848 GB, free: 164.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001139/6.565, allocations: 0.662 MB / 3.849 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/6.565, allocations: 0 / 3.849 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001906/6.565, allocations: 70.03 kB / 3.849 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/6.565, allocations: 95.45 kB / 3.849 GB, free: 164.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/6.567, allocations: 1.627 MB / 3.851 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/6.568, allocations: 84.02 kB / 3.851 GB, free: 163.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/6.568, allocations: 25.7 kB / 3.851 GB, free: 163.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001568/6.568, allocations: 116.8 kB / 3.851 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/6.568, allocations: 69.91 kB / 3.851 GB, free: 163.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/6.569, allocations: 0.8373 MB / 3.852 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/6.569, allocations: 7.25 kB / 3.852 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/6.569, allocations: 3.938 kB / 3.852 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/6.569, allocations: 3.75 kB / 3.852 GB, free: 163.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0026/6.572, allocations: 1.67 MB / 3.853 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/6.572, allocations: 5.25 kB / 3.853 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/6.573, allocations: 95.56 kB / 3.854 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001142/6.573, allocations: 48.44 kB / 3.854 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/6.573, allocations: 14.03 kB / 3.854 GB, free: 162.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002868/6.573, allocations: 0.6104 MB / 3.854 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/6.573, allocations: 5.344 kB / 3.854 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001438/6.574, allocations: 1.313 MB / 3.855 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002115/6.577, allocations: 2.123 MB / 3.858 GB, free: 160.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/6.577, allocations: 203.5 kB / 3.858 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/6.577, allocations: 3.719 kB / 3.858 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/6.578, allocations: 87.45 kB / 3.858 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.281e-05/6.578, allocations: 38.62 kB / 3.858 GB, free: 160.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/6.578, allocations: 19.8 kB / 3.858 GB, free: 160.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000358/6.578, allocations: 364.3 kB / 3.858 GB, free: 160.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003417/6.582, allocations: 1.071 MB / 3.859 GB, free: 160.7 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 (45): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002514/6.584, allocations: 2.382 MB / 3.862 GB, free: 160 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001464/6.586, allocations: 0.9656 MB / 3.863 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/6.586, allocations: 2.75 kB / 3.863 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/6.586, allocations: 287.1 kB / 3.863 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/6.588, allocations: 456.2 kB / 3.863 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005207/6.594, allocations: 1.53 MB / 3.865 GB, free: 159.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006182/6.594, allocations: 1.062 MB / 3.866 GB, free: 158.8 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/6.594, allocations: 3.531 kB / 3.866 GB, free: 158.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)