Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.463/2.463, allocations: 284.8 MB / 292.1 MB, free: 9.848 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.001626/0.001626, allocations: 190.3 kB / 360.3 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.1 MB / 0.6187 GB, free: 3.328 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001722/0.001722, allocations: 92.28 kB / 0.7317 GB, free: 1.816 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.6073/0.6091, allocations: 121.4 MB / 0.8502 GB, free: 149.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.8279, allocations: 115.2 MB / 0.9628 GB, free: 56.98 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.219/6.047, allocations: 2.081 GB / 3.044 GB, free: 168.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/6.048, allocations: 88.56 kB / 3.044 GB, free: 168.5 MB / 0.9323 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 3.647/9.695, allocations: 0.7918 GB / 3.836 GB, free: 79.69 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/9.695, allocations: 12.22 kB / 3.836 GB, free: 79.68 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/9.698, allocations: 278.5 kB / 3.836 GB, free: 79.41 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/9.701, allocations: 0.8002 MB / 3.837 GB, free: 78.57 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.135e-05/9.701, allocations: 16 kB / 3.837 GB, free: 78.55 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/9.702, allocations: 36 kB / 3.837 GB, free: 78.52 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001655/9.703, allocations: 0.5798 MB / 3.838 GB, free: 77.93 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/9.705, allocations: 0.5276 MB / 3.838 GB, free: 77.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/9.705, allocations: 0 / 3.838 GB, free: 77.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/9.705, allocations: 0 / 3.838 GB, free: 77.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/9.705, allocations: 12 kB / 3.838 GB, free: 77.39 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007137/9.712, allocations: 2.644 MB / 3.841 GB, free: 74.54 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/9.714, allocations: 493.2 kB / 3.841 GB, free: 74.05 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/9.715, allocations: 328 kB / 3.841 GB, free: 73.73 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00173/9.716, allocations: 0.6445 MB / 3.842 GB, free: 72.95 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/9.717, allocations: 34.94 kB / 3.842 GB, free: 72.91 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=45): time 4.749e-06/9.717, allocations: 0 / 3.842 GB, free: 72.91 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.008123/9.725, allocations: 0.959 MB / 3.843 GB, free: 71.94 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/9.725, allocations: 55.41 kB / 3.843 GB, free: 71.88 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/9.726, allocations: 463.7 kB / 3.844 GB, free: 71.41 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002325/9.727, allocations: 29.64 kB / 3.844 GB, free: 71.38 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/9.727, allocations: 232.9 kB / 3.844 GB, free: 71.15 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/9.727, allocations: 153.6 kB / 3.844 GB, free: 71 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/9.727, allocations: 0 / 3.844 GB, free: 71 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002077/9.728, allocations: 378.8 kB / 3.844 GB, free: 70.62 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008647/9.728, allocations: 236.8 kB / 3.845 GB, free: 70.39 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/9.729, allocations: 343.8 kB / 3.845 GB, free: 70.01 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/9.73, allocations: 368.3 kB / 3.845 GB, free: 69.65 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/9.731, allocations: 0 / 3.845 GB, free: 69.65 MB / 0.9323 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002671/9.733, allocations: 0.7878 MB / 3.846 GB, free: 68.86 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/9.733, allocations: 276.7 kB / 3.846 GB, free: 68.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/9.733, allocations: 4 kB / 3.846 GB, free: 68.56 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002913/9.734, allocations: 60.83 kB / 3.846 GB, free: 68.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/9.735, allocations: 95.86 kB / 3.846 GB, free: 68.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007479/9.735, allocations: 0.646 MB / 3.847 GB, free: 67.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/9.737, allocations: 87.58 kB / 3.847 GB, free: 67.64 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/9.737, allocations: 23.98 kB / 3.847 GB, free: 67.62 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/9.737, allocations: 4 kB / 3.847 GB, free: 67.62 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002209/9.739, allocations: 0.6699 MB / 3.848 GB, free: 66.95 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/9.739, allocations: 0 / 3.848 GB, free: 66.95 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003472/9.74, allocations: 56.83 kB / 3.848 GB, free: 66.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/9.741, allocations: 103.9 kB / 3.848 GB, free: 66.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/9.743, allocations: 1.63 MB / 3.85 GB, free: 65.04 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/9.745, allocations: 71.69 kB / 3.85 GB, free: 64.97 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/9.745, allocations: 31.97 kB / 3.85 GB, free: 64.94 MB / 0.9323 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.0002332/9.745, allocations: 109.4 kB / 3.85 GB, free: 64.82 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/9.745, allocations: 75.06 kB / 3.85 GB, free: 64.75 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003008/9.748, allocations: 0.8366 MB / 3.851 GB, free: 63.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/9.748, allocations: 4 kB / 3.851 GB, free: 63.89 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/9.748, allocations: 0 / 3.851 GB, free: 63.89 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/9.748, allocations: 7.984 kB / 3.851 GB, free: 63.89 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/9.753, allocations: 1.681 MB / 3.852 GB, free: 62.12 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/9.753, allocations: 8 kB / 3.852 GB, free: 62.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009691/9.754, allocations: 91.83 kB / 3.852 GB, free: 62.02 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000192/9.754, allocations: 53.09 kB / 3.852 GB, free: 61.97 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/9.755, allocations: 4 kB / 3.852 GB, free: 61.96 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004901/9.755, allocations: 0.6146 MB / 3.853 GB, free: 61.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/9.755, allocations: 4 kB / 3.853 GB, free: 61.32 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00297/9.758, allocations: 1.309 MB / 3.854 GB, free: 59.87 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004295/9.762, allocations: 2.128 MB / 3.856 GB, free: 57.6 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/9.763, allocations: 208 kB / 3.857 GB, free: 57.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/9.763, allocations: 4 kB / 3.857 GB, free: 57.38 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/9.765, allocations: 87.8 kB / 3.857 GB, free: 57.29 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/9.765, allocations: 31.95 kB / 3.857 GB, free: 57.26 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/9.765, allocations: 24 kB / 3.857 GB, free: 57.23 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0006283/9.766, allocations: 367.1 kB / 3.857 GB, free: 56.88 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005919/9.772, allocations: 1.062 MB / 3.858 GB, free: 55.82 MB / 0.9323 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.003842/9.776, allocations: 2.385 MB / 3.86 GB, free: 53.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002629/9.778, allocations: 0.9721 MB / 3.861 GB, free: 52.31 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/9.778, allocations: 256 / 3.861 GB, free: 52.31 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007731/9.779, allocations: 283.5 kB / 3.862 GB, free: 52.03 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/9.784, allocations: 458.4 kB / 3.862 GB, free: 51.59 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009689/9.793, allocations: 1.535 MB / 3.864 GB, free: 49.99 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009883/9.795, allocations: 1.061 MB / 3.865 GB, free: 48.9 MB / 0.9323 GB Notification: Performance of SimCode: time 1.272e-06/9.795, allocations: 4 kB / 3.865 GB, free: 48.89 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)