Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.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.FlowJunctionSteadyState,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001747/0.001747, allocations: 176.3 kB / 366.3 MB, free: 2.023 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.552/1.552, allocations: 205.1 MB / 0.6256 GB, free: 5.938 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.001122/0.001122, allocations: 98.48 kB / 0.7396 GB, free: 39.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3049/0.3061, allocations: 122.4 MB / 0.8591 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6452/0.9513, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.143/6.095, allocations: 2.082 GB / 3.055 GB, free: 355 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/6.095, allocations: 86.38 kB / 3.055 GB, free: 355 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.9/8.995, allocations: 0.7918 GB / 3.847 GB, free: 178.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/8.995, allocations: 10.72 kB / 3.847 GB, free: 178.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002498/8.997, allocations: 272.4 kB / 3.847 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002885/9, allocations: 0.8115 MB / 3.848 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/9, allocations: 17.62 kB / 3.848 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/9.001, allocations: 33.12 kB / 3.848 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001297/9.002, allocations: 0.5696 MB / 3.849 GB, free: 178.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/9.003, allocations: 0.5364 MB / 3.849 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/9.003, allocations: 0 / 3.849 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/9.003, allocations: 0 / 3.849 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/9.003, allocations: 13.62 kB / 3.849 GB, free: 178.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005302/9.009, allocations: 2.649 MB / 3.852 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/9.01, allocations: 490 kB / 3.852 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/9.01, allocations: 334.7 kB / 3.852 GB, free: 177 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008728/9.011, allocations: 0.6417 MB / 3.853 GB, free: 176.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/9.011, allocations: 37.47 kB / 3.853 GB, free: 176.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=45): time 3.837e-06/9.011, allocations: 0 / 3.853 GB, free: 176.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=45): time 0.003007/9.014, allocations: 0.9498 MB / 3.854 GB, free: 176.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/9.014, allocations: 55.34 kB / 3.854 GB, free: 176.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008011/9.015, allocations: 464.6 kB / 3.855 GB, free: 176 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.804e-05/9.015, allocations: 29.58 kB / 3.855 GB, free: 176 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/9.015, allocations: 238.1 kB / 3.855 GB, free: 175.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000176/9.015, allocations: 148.2 kB / 3.855 GB, free: 175.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/9.015, allocations: 3.906 kB / 3.855 GB, free: 175.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001455/9.016, allocations: 384 kB / 3.855 GB, free: 175.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003224/9.016, allocations: 225.9 kB / 3.856 GB, free: 175.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/9.016, allocations: 351.9 kB / 3.856 GB, free: 175.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007056/9.017, allocations: 352.3 kB / 3.856 GB, free: 175.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/9.017, allocations: 0 / 3.856 GB, free: 175.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001698/9.019, allocations: 0.8032 MB / 3.857 GB, free: 175.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.664e-05/9.019, allocations: 269.2 kB / 3.857 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/9.019, allocations: 10.28 kB / 3.857 GB, free: 175 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002374/9.019, allocations: 62.34 kB / 3.857 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005548/9.02, allocations: 103.1 kB / 3.857 GB, free: 174.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005585/9.02, allocations: 0.6466 MB / 3.858 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009388/9.021, allocations: 77.95 kB / 3.858 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.561e-05/9.021, allocations: 29.19 kB / 3.858 GB, free: 174.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/9.021, allocations: 3.406 kB / 3.858 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001254/9.023, allocations: 0.671 MB / 3.859 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/9.023, allocations: 0 / 3.859 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/9.023, allocations: 61.56 kB / 3.859 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005219/9.023, allocations: 99.41 kB / 3.859 GB, free: 174.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/9.025, allocations: 1.623 MB / 3.861 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008689/9.026, allocations: 75.64 kB / 3.861 GB, free: 173.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.791e-05/9.026, allocations: 27.95 kB / 3.861 GB, free: 173.1 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.0002135/9.026, allocations: 111.1 kB / 3.861 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/9.026, allocations: 74.5 kB / 3.861 GB, free: 173 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001787/9.028, allocations: 0.8369 MB / 3.862 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/9.028, allocations: 3.688 kB / 3.862 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/9.028, allocations: 3.25 kB / 3.862 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/9.028, allocations: 3.797 kB / 3.862 GB, free: 172.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/9.032, allocations: 1.677 MB / 3.863 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/9.032, allocations: 3.062 kB / 3.863 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/9.032, allocations: 98.34 kB / 3.863 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/9.032, allocations: 55.34 kB / 3.863 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/9.032, allocations: 7.312 kB / 3.863 GB, free: 172.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003979/9.033, allocations: 0.6104 MB / 3.864 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/9.033, allocations: 6.812 kB / 3.864 GB, free: 172 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001911/9.035, allocations: 1.31 MB / 3.865 GB, free: 171.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002625/9.037, allocations: 2.119 MB / 3.867 GB, free: 170.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/9.038, allocations: 208.1 kB / 3.868 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/9.038, allocations: 3.938 kB / 3.868 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009781/9.039, allocations: 87.52 kB / 3.868 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/9.039, allocations: 44.94 kB / 3.868 GB, free: 170.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/9.039, allocations: 16.81 kB / 3.868 GB, free: 170.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005021/9.04, allocations: 361.5 kB / 3.868 GB, free: 170.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004677/9.044, allocations: 1.07 MB / 3.869 GB, free: 170.3 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.003594/9.048, allocations: 2.382 MB / 3.871 GB, free: 169.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001875/9.05, allocations: 0.9642 MB / 3.872 GB, free: 169.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/9.05, allocations: 3 kB / 3.872 GB, free: 169.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005492/9.05, allocations: 286.6 kB / 3.873 GB, free: 169.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002547/9.053, allocations: 451.1 kB / 3.873 GB, free: 169.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/9.059, allocations: 1.533 MB / 3.875 GB, free: 169.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007902/9.06, allocations: 1.07 MB / 3.876 GB, free: 168.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.573e-06/9.06, allocations: 0 / 3.876 GB, free: 168.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)