Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.302/2.302, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00173/0.00173, allocations: 189.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.829/1.829, allocations: 205.1 MB / 0.6188 GB, free: 12.48 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001325, allocations: 91.11 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.172e-05/1.191e-05, allocations: 4 kB / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6591/0.6591, allocations: 115.2 MB / 0.9628 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.489/6.148, allocations: 2.313 GB / 3.276 GB, free: 76.76 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/6.149, allocations: 82.59 kB / 3.276 GB, free: 76.71 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.11/9.259, allocations: 0.6509 GB / 3.927 GB, free: 139.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001287/9.259, allocations: 35.98 kB / 3.927 GB, free: 139.1 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00578/9.265, allocations: 1.43 MB / 3.928 GB, free: 137.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/9.265, allocations: 8.531 kB / 3.928 GB, free: 137.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005216/9.27, allocations: 0.5879 MB / 3.929 GB, free: 137 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05066/9.321, allocations: 13.12 MB / 3.942 GB, free: 123.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002478/9.323, allocations: 313.1 kB / 3.942 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003693/9.324, allocations: 44 kB / 3.942 GB, free: 123.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00236/9.326, allocations: 0.7764 MB / 3.943 GB, free: 122.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/9.328, allocations: 0.8831 MB / 3.944 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/9.328, allocations: 4 kB / 3.944 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/9.328, allocations: 0 / 3.944 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.121e-05/9.328, allocations: 37.3 kB / 3.944 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/9.339, allocations: 3.173 MB / 3.947 GB, free: 118.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/9.34, allocations: 0.5589 MB / 3.947 GB, free: 117.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/9.341, allocations: 359.1 kB / 3.948 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00108/9.342, allocations: 1.033 MB / 3.949 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/9.343, allocations: 489.4 kB / 3.949 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=58): time 3.116e-06/9.343, allocations: 0 / 3.949 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=58): time 0.003098/9.347, allocations: 0.7823 MB / 3.95 GB, free: 114.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/9.347, allocations: 140.9 kB / 3.95 GB, free: 114.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/9.348, allocations: 0.6568 MB / 3.951 GB, free: 114.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001851/9.348, allocations: 33.69 kB / 3.951 GB, free: 114 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/9.348, allocations: 320.2 kB / 3.951 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/9.349, allocations: 181.3 kB / 3.951 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.381e-05/9.349, allocations: 0 / 3.951 GB, free: 113.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/9.349, allocations: 334 kB / 3.952 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008216/9.35, allocations: 317.2 kB / 3.952 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/9.351, allocations: 0.5195 MB / 3.952 GB, free: 112.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/9.352, allocations: 421.1 kB / 3.953 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/9.352, allocations: 4 kB / 3.953 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002934/9.355, allocations: 0.9283 MB / 3.954 GB, free: 111 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/9.355, allocations: 4 kB / 3.954 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/9.355, allocations: 4 kB / 3.954 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.93e-05/9.355, allocations: 8 kB / 3.954 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002128/9.357, allocations: 236.3 kB / 3.954 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.46e-05/9.357, allocations: 15.92 kB / 3.954 GB, free: 110.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/9.361, allocations: 291.2 kB / 3.954 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/9.361, allocations: 51.95 kB / 3.954 GB, free: 110.4 MB / 0.9323 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.0003256/9.361, allocations: 170.5 kB / 3.954 GB, free: 110.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/9.362, allocations: 94.86 kB / 3.955 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/9.364, allocations: 0.8522 MB / 3.955 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/9.364, allocations: 8 kB / 3.955 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/9.364, allocations: 3.938 kB / 3.955 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/9.364, allocations: 7.984 kB / 3.955 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007243/9.372, allocations: 3.052 MB / 3.958 GB, free: 106 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/9.372, allocations: 8 kB / 3.958 GB, free: 106 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/9.373, allocations: 135.8 kB / 3.959 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/9.373, allocations: 8 kB / 3.959 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/9.373, allocations: 27.97 kB / 3.959 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.399e-05/9.373, allocations: 19.84 kB / 3.959 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/9.373, allocations: 8 kB / 3.959 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002721/9.376, allocations: 1.57 MB / 3.96 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007926/9.377, allocations: 315.6 kB / 3.96 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/9.377, allocations: 15.98 kB / 3.96 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002329/9.379, allocations: 131.9 kB / 3.961 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/9.38, allocations: 56.41 kB / 3.961 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/9.38, allocations: 39.97 kB / 3.961 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001006/9.381, allocations: 0.507 MB / 3.961 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002209/9.383, allocations: 423.3 kB / 3.962 GB, free: 102.4 MB / 0.9323 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.002911/9.386, allocations: 1.758 MB / 3.963 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002184/9.388, allocations: 0.7842 MB / 3.964 GB, free: 99.81 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/9.388, allocations: 4 kB / 3.964 GB, free: 99.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009952/9.389, allocations: 462.7 kB / 3.964 GB, free: 99.35 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003501/9.393, allocations: 351 kB / 3.965 GB, free: 99.01 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/9.398, allocations: 1.535 MB / 3.966 GB, free: 97.35 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/9.399, allocations: 1.185 MB / 3.967 GB, free: 96.14 MB / 0.9323 GB Notification: Performance of SimCode: time 1.844e-06/9.4, allocations: 4 kB / 3.967 GB, free: 96.13 MB / 0.9323 GB Notification: Performance of Templates: time 0.06164/9.461, allocations: 25.56 MB / 3.992 GB, free: 70.64 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)