Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.438/1.438, allocations: 285.5 MB / 292.8 MB, free: 9.832 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.001005/0.001005, allocations: 173.3 kB / 361.1 MB, free: 392 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 0.6195 GB, free: 2.914 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.0008366/0.0008367, allocations: 83.03 kB / 0.7326 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.5088/0.5096, allocations: 121.4 MB / 0.8511 GB, free: 151.8 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.7139, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.897/4.611, allocations: 2.313 GB / 3.277 GB, free: 56.98 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/4.611, allocations: 88.55 kB / 3.277 GB, free: 56.89 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 1.991/6.602, allocations: 0.6523 GB / 3.93 GB, free: 144.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/6.602, allocations: 11.12 kB / 3.93 GB, free: 144.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002906/6.605, allocations: 0.5878 MB / 3.93 GB, free: 143.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02661/6.632, allocations: 13.11 MB / 3.943 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001127/6.633, allocations: 321.1 kB / 3.943 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003316/6.633, allocations: 44 kB / 3.943 GB, free: 130.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001575/6.635, allocations: 0.7725 MB / 3.944 GB, free: 129.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/6.636, allocations: 0.8871 MB / 3.945 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/6.636, allocations: 0 / 3.945 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/6.637, allocations: 0 / 3.945 GB, free: 128.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/6.637, allocations: 33.3 kB / 3.945 GB, free: 128.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006115/6.643, allocations: 3.168 MB / 3.948 GB, free: 125.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008238/6.644, allocations: 0.555 MB / 3.949 GB, free: 124.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/6.644, allocations: 362.8 kB / 3.949 GB, free: 124.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007012/6.645, allocations: 1.033 MB / 3.95 GB, free: 123.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000543/6.645, allocations: 483 kB / 3.95 GB, free: 122.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 2.255e-06/6.645, allocations: 0 / 3.95 GB, free: 122.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.001798/6.647, allocations: 0.7863 MB / 3.951 GB, free: 121.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/6.647, allocations: 140.9 kB / 3.951 GB, free: 121.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008139/6.648, allocations: 0.6568 MB / 3.952 GB, free: 121 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.314e-05/6.648, allocations: 25.7 kB / 3.952 GB, free: 121 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/6.648, allocations: 336.1 kB / 3.952 GB, free: 120.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/6.648, allocations: 189.2 kB / 3.952 GB, free: 120.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.986e-05/6.648, allocations: 0 / 3.952 GB, free: 120.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.187e-05/6.648, allocations: 330 kB / 3.953 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/6.649, allocations: 325.1 kB / 3.953 GB, free: 119.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/6.649, allocations: 0.5157 MB / 3.954 GB, free: 119.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/6.65, allocations: 421 kB / 3.954 GB, free: 118.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/6.65, allocations: 0 / 3.954 GB, free: 118.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001577/6.652, allocations: 0.9361 MB / 3.955 GB, free: 117.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/6.652, allocations: 5.25 kB / 3.955 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/6.652, allocations: 4 kB / 3.955 GB, free: 117.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/6.652, allocations: 8 kB / 3.955 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/6.653, allocations: 236.1 kB / 3.955 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/6.653, allocations: 11.98 kB / 3.955 GB, free: 117.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/6.655, allocations: 287.3 kB / 3.955 GB, free: 117.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/6.655, allocations: 51.95 kB / 3.955 GB, free: 117.3 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.0002102/6.655, allocations: 162.5 kB / 3.956 GB, free: 117.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/6.655, allocations: 90.88 kB / 3.956 GB, free: 117 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/6.657, allocations: 0.8599 MB / 3.957 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/6.657, allocations: 8 kB / 3.957 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/6.657, allocations: 4 kB / 3.957 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/6.657, allocations: 3.984 kB / 3.957 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003951/6.661, allocations: 3.054 MB / 3.96 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/6.661, allocations: 8 kB / 3.96 GB, free: 112.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/6.661, allocations: 132.2 kB / 3.96 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/6.661, allocations: 12 kB / 3.96 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.011e-05/6.661, allocations: 27.97 kB / 3.96 GB, free: 112.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/6.661, allocations: 19.92 kB / 3.96 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/6.661, allocations: 11.94 kB / 3.96 GB, free: 112.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001508/6.663, allocations: 1.57 MB / 3.961 GB, free: 110.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001659/6.665, allocations: 2.043 MB / 3.963 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/6.665, allocations: 311.7 kB / 3.964 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/6.665, allocations: 19.92 kB / 3.964 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/6.666, allocations: 131.9 kB / 3.964 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/6.667, allocations: 55.7 kB / 3.964 GB, free: 108 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.062e-05/6.667, allocations: 47.97 kB / 3.964 GB, free: 107.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004988/6.667, allocations: 0.503 MB / 3.964 GB, free: 107.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002274/6.669, allocations: 0.6009 MB / 3.965 GB, free: 106.8 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.0021/6.672, allocations: 1.749 MB / 3.967 GB, free: 105 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001013/6.673, allocations: 0.7882 MB / 3.967 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/6.673, allocations: 0.8125 kB / 3.967 GB, free: 104.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004927/6.673, allocations: 457.9 kB / 3.968 GB, free: 103.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/6.675, allocations: 353.5 kB / 3.968 GB, free: 103.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/6.677, allocations: 1.54 MB / 3.97 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008295/6.678, allocations: 1.184 MB / 3.971 GB, free: 100.5 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/6.678, allocations: 0 / 3.971 GB, free: 100.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)