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: translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.533/1.533, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001568/0.001567, allocations: 187.4 kB / 361.1 MB, free: 7.102 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.764/1.764, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.001134/0.001134, allocations: 91.53 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.223e-06, allocations: 0 / 0.8511 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7091/0.7092, allocations: 115.3 MB / 0.9637 GB, free: 77.98 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.374/5.084, allocations: 2.313 GB / 3.277 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/5.084, allocations: 81.03 kB / 3.277 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.318/7.402, allocations: 0.6509 GB / 3.928 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001863/7.402, allocations: 33.12 kB / 3.928 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.005094/7.407, allocations: 1.421 MB / 3.929 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/7.407, allocations: 8.531 kB / 3.929 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0033/7.41, allocations: 0.5917 MB / 3.93 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02977/7.44, allocations: 13.12 MB / 3.943 GB, free: 153.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001317/7.442, allocations: 325 kB / 3.943 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004093/7.442, allocations: 40 kB / 3.943 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001865/7.444, allocations: 0.7686 MB / 3.944 GB, free: 152.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/7.446, allocations: 0.8901 MB / 3.945 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/7.446, allocations: 3.938 kB / 3.945 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/7.446, allocations: 4 kB / 3.945 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.919e-05/7.446, allocations: 29.31 kB / 3.945 GB, free: 151.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006474/7.453, allocations: 3.171 MB / 3.948 GB, free: 148.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/7.453, allocations: 0.5562 MB / 3.948 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/7.454, allocations: 359.3 kB / 3.949 GB, free: 147.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008334/7.455, allocations: 1.035 MB / 3.95 GB, free: 146 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006036/7.455, allocations: 485.4 kB / 3.95 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=58): time 3.456e-06/7.455, allocations: 0 / 3.95 GB, free: 145.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=58): time 0.001921/7.457, allocations: 0.7862 MB / 3.951 GB, free: 144.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/7.457, allocations: 136.9 kB / 3.951 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007873/7.458, allocations: 0.653 MB / 3.952 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/7.458, allocations: 34.27 kB / 3.952 GB, free: 143.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/7.458, allocations: 320.2 kB / 3.952 GB, free: 143.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/7.459, allocations: 189.2 kB / 3.952 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/7.459, allocations: 0 / 3.952 GB, free: 143.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.121e-05/7.459, allocations: 330 kB / 3.953 GB, free: 143 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004403/7.459, allocations: 317.2 kB / 3.953 GB, free: 142.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/7.46, allocations: 0.5252 MB / 3.953 GB, free: 142.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009099/7.461, allocations: 425.1 kB / 3.954 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/7.461, allocations: 0 / 3.954 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001616/7.462, allocations: 0.9286 MB / 3.955 GB, free: 140.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/7.462, allocations: 12.06 kB / 3.955 GB, free: 140.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/7.462, allocations: 8 kB / 3.955 GB, free: 140.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/7.462, allocations: 4 kB / 3.955 GB, free: 140.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/7.464, allocations: 235.7 kB / 3.955 GB, free: 140.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/7.464, allocations: 7.938 kB / 3.955 GB, free: 140.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001647/7.465, allocations: 287.3 kB / 3.955 GB, free: 140.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/7.465, allocations: 56.12 kB / 3.955 GB, free: 140.1 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.0003473/7.466, allocations: 169 kB / 3.956 GB, free: 140 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/7.466, allocations: 94.88 kB / 3.956 GB, free: 139.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/7.468, allocations: 0.8502 MB / 3.956 GB, free: 139 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/7.468, allocations: 4 kB / 3.956 GB, free: 139 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/7.468, allocations: 4 kB / 3.956 GB, free: 139 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/7.468, allocations: 7.984 kB / 3.956 GB, free: 139 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/7.472, allocations: 3.063 MB / 3.959 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.926e-06/7.472, allocations: 8 kB / 3.959 GB, free: 135.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006638/7.472, allocations: 136.7 kB / 3.96 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.434e-05/7.472, allocations: 15.98 kB / 3.96 GB, free: 135.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.736e-05/7.472, allocations: 19.98 kB / 3.96 GB, free: 135.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/7.472, allocations: 12 kB / 3.96 GB, free: 135.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/7.472, allocations: 15.84 kB / 3.96 GB, free: 135.6 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001519/7.474, allocations: 1.57 MB / 3.961 GB, free: 133.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004574/7.474, allocations: 315.7 kB / 3.961 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/7.475, allocations: 19.89 kB / 3.961 GB, free: 133.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/7.476, allocations: 131.9 kB / 3.962 GB, free: 133.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.36e-05/7.476, allocations: 47.8 kB / 3.962 GB, free: 133.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.118e-05/7.476, allocations: 47.97 kB / 3.962 GB, free: 133.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0005672/7.477, allocations: 0.5069 MB / 3.962 GB, free: 132.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001609/7.478, allocations: 411.4 kB / 3.963 GB, free: 132.3 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.00238/7.481, allocations: 1.761 MB / 3.964 GB, free: 130.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001199/7.482, allocations: 0.7882 MB / 3.965 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/7.482, allocations: 0 / 3.965 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004925/7.482, allocations: 459 kB / 3.966 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/7.484, allocations: 353.6 kB / 3.966 GB, free: 129 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/7.487, allocations: 1.539 MB / 3.967 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000814/7.488, allocations: 1.189 MB / 3.969 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of SimCode: time 5.21e-07/7.488, allocations: 0 / 3.969 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.03577/7.524, allocations: 25.57 MB / 3.993 GB, free: 100.7 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)