Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") [: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.596/1.596, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001124/0.001124, allocations: 189.2 kB / 366.3 MB, free: 1.934 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.816/1.816, allocations: 205.1 MB / 0.6256 GB, free: 5.766 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.001092/0.001093, allocations: 87.33 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.825e-06/7.925e-06, allocations: 0 / 0.859 GB, free: 13.33 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7793/0.7793, allocations: 116.3 MB / 0.9726 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.94/5.719, allocations: 2.314 GB / 3.287 GB, free: 99.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/5.72, allocations: 90.39 kB / 3.287 GB, free: 99.08 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.405/8.124, allocations: 0.6509 GB / 3.938 GB, free: 177.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001681/8.125, allocations: 42.5 kB / 3.938 GB, free: 177.7 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005065/8.13, allocations: 1.42 MB / 3.939 GB, free: 176.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/8.13, allocations: 8.031 kB / 3.939 GB, free: 176.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003183/8.133, allocations: 0.5879 MB / 3.94 GB, free: 175.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03/8.163, allocations: 13.12 MB / 3.953 GB, free: 162.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001184/8.164, allocations: 321 kB / 3.953 GB, free: 162.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004056/8.165, allocations: 44 kB / 3.953 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001985/8.167, allocations: 0.7647 MB / 3.954 GB, free: 161.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001933/8.169, allocations: 0.8871 MB / 3.955 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/8.169, allocations: 11.92 kB / 3.955 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/8.169, allocations: 0 / 3.955 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/8.169, allocations: 37.31 kB / 3.955 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007504/8.176, allocations: 3.161 MB / 3.958 GB, free: 157.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/8.178, allocations: 0.5584 MB / 3.958 GB, free: 156.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004899/8.178, allocations: 354.2 kB / 3.959 GB, free: 156.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009432/8.179, allocations: 1.038 MB / 3.96 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007181/8.18, allocations: 489.4 kB / 3.96 GB, free: 154.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 4.759e-06/8.18, allocations: 0 / 3.96 GB, free: 154.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.002208/8.182, allocations: 0.7862 MB / 3.961 GB, free: 153.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/8.182, allocations: 136.9 kB / 3.961 GB, free: 153.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/8.183, allocations: 0.6608 MB / 3.962 GB, free: 152.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/8.183, allocations: 25.7 kB / 3.962 GB, free: 152.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/8.184, allocations: 328.2 kB / 3.962 GB, free: 152.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/8.184, allocations: 185.2 kB / 3.962 GB, free: 152.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/8.184, allocations: 0 / 3.962 GB, free: 152.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001023/8.184, allocations: 330 kB / 3.962 GB, free: 152.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004594/8.185, allocations: 328.4 kB / 3.963 GB, free: 151.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/8.185, allocations: 0.521 MB / 3.963 GB, free: 151.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008994/8.186, allocations: 425.1 kB / 3.964 GB, free: 150.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/8.186, allocations: 0 / 3.964 GB, free: 150.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001832/8.188, allocations: 0.9325 MB / 3.965 GB, free: 149.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/8.188, allocations: 4 kB / 3.965 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/8.188, allocations: 4 kB / 3.965 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/8.188, allocations: 8 kB / 3.965 GB, free: 149.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/8.189, allocations: 231.8 kB / 3.965 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/8.189, allocations: 11.94 kB / 3.965 GB, free: 149.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/8.191, allocations: 287.3 kB / 3.965 GB, free: 149.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/8.191, allocations: 47.97 kB / 3.965 GB, free: 149.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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.0002598/8.191, allocations: 159.4 kB / 3.965 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000272/8.192, allocations: 98.88 kB / 3.965 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/8.193, allocations: 0.8516 MB / 3.966 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/8.193, allocations: 12 kB / 3.966 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/8.193, allocations: 3.984 kB / 3.966 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/8.193, allocations: 0 / 3.966 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004401/8.198, allocations: 3.051 MB / 3.969 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/8.198, allocations: 11.94 kB / 3.969 GB, free: 144.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006724/8.198, allocations: 139.8 kB / 3.969 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/8.198, allocations: 12 kB / 3.969 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.659e-05/8.198, allocations: 27.98 kB / 3.969 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/8.199, allocations: 18.19 kB / 3.969 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.365e-06/8.199, allocations: 15.94 kB / 3.969 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001742/8.2, allocations: 1.563 MB / 3.971 GB, free: 142.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/8.201, allocations: 315.8 kB / 3.971 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/8.201, allocations: 12 kB / 3.971 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001302/8.202, allocations: 131.9 kB / 3.971 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/8.203, allocations: 55.78 kB / 3.971 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/8.203, allocations: 47.95 kB / 3.972 GB, free: 142.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0007212/8.203, allocations: 0.507 MB / 3.972 GB, free: 141.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001948/8.205, allocations: 403.4 kB / 3.972 GB, free: 141.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.002813/8.208, allocations: 1.776 MB / 3.974 GB, free: 139.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001357/8.21, allocations: 0.7804 MB / 3.975 GB, free: 138.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/8.21, allocations: 4 kB / 3.975 GB, free: 138.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005791/8.21, allocations: 462.4 kB / 3.975 GB, free: 138.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/8.212, allocations: 347.6 kB / 3.976 GB, free: 138.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/8.216, allocations: 1.538 MB / 3.977 GB, free: 136.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001116/8.217, allocations: 1.185 MB / 3.978 GB, free: 135.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/8.217, allocations: 0 / 3.978 GB, free: 135.2 MB / 0.948 GB Notification: Performance of Templates: time 0.03948/8.257, allocations: 25.56 MB / 4.003 GB, free: 109.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)