Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [: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 1.6.0+build.1/package.mo): time 0.4833/0.4833, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00133/0.00133, allocations: 187.4 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.41/1.41, allocations: 170.5 MB / 319 MB, free: 9.363 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001679/0.001679, allocations: 112.6 kB / 381 MB, free: 18.14 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.376e-06/8.416e-06, allocations: 0 / 448.6 MB, free: 2.121 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1676, allocations: 61.52 MB / 0.4981 GB, free: 4.516 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9141/1.082, allocations: 371.5 MB / 0.861 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/1.082, allocations: 85.48 kB / 0.861 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.5137/1.596, allocations: 91.75 MB / 0.9506 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.052e-05/1.596, allocations: 15.64 kB / 0.9507 GB, free: 134.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.0008698/1.597, allocations: 0.5839 MB / 0.9512 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.597, allocations: 7.812 kB / 0.9512 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002291/1.597, allocations: 47.05 kB / 0.9513 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/1.598, allocations: 344.3 kB / 0.9516 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.598, allocations: 7.844 kB / 0.9516 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/1.598, allocations: 11.72 kB / 0.9516 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002836/1.598, allocations: 166.4 kB / 0.9518 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003483/1.598, allocations: 256 kB / 0.952 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.598, allocations: 0 / 0.952 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/1.598, allocations: 7.906 kB / 0.952 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/1.598, allocations: 3.906 kB / 0.952 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/1.6, allocations: 1.767 MB / 0.9538 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/1.6, allocations: 93.28 kB / 0.9539 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/1.601, allocations: 40.33 kB / 0.9539 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/1.601, allocations: 282.5 kB / 0.9542 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.166e-05/1.601, allocations: 34.56 kB / 0.9542 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/1.601, allocations: 4 kB / 0.9542 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0004033/1.601, allocations: 140 kB / 0.9543 GB, free: 131.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/1.601, allocations: 110.7 kB / 0.9544 GB, free: 131 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/1.602, allocations: 229.2 kB / 0.9547 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/1.602, allocations: 25.7 kB / 0.9547 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/1.602, allocations: 178.9 kB / 0.9549 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/1.602, allocations: 47.11 kB / 0.9549 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/1.602, allocations: 0 / 0.9549 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.025e-05/1.602, allocations: 338.5 kB / 0.9552 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.122e-05/1.602, allocations: 43.52 kB / 0.9553 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/1.602, allocations: 157.8 kB / 0.9554 GB, free: 130 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003414/1.602, allocations: 119.7 kB / 0.9555 GB, free: 130 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.602, allocations: 0 / 0.9555 GB, free: 130 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005114/1.603, allocations: 250.4 kB / 0.9558 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/1.603, allocations: 3.906 kB / 0.9558 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/1.603, allocations: 4.312 kB / 0.9558 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.603, allocations: 7.906 kB / 0.9558 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003537/1.603, allocations: 86.56 kB / 0.9559 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.603, allocations: 10.55 kB / 0.9559 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/1.604, allocations: 35.48 kB / 0.9559 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/1.604, allocations: 7.812 kB / 0.9559 GB, free: 129.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.772e-05/1.604, allocations: 120.7 kB / 0.956 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/1.604, allocations: 27.25 kB / 0.9561 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003962/1.604, allocations: 167.5 kB / 0.9562 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.604, allocations: 3.906 kB / 0.9562 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.604, allocations: 4 kB / 0.9562 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.604, allocations: 3.906 kB / 0.9562 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/1.605, allocations: 269.7 kB / 0.9565 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.605, allocations: 3.906 kB / 0.9565 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/1.605, allocations: 47.11 kB / 0.9565 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/1.605, allocations: 3.906 kB / 0.9565 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/1.605, allocations: 8 kB / 0.9565 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.605, allocations: 3.938 kB / 0.9566 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.605, allocations: 0 / 0.9566 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004216/1.605, allocations: 307.8 kB / 0.9568 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.944e-05/1.605, allocations: 104.6 kB / 0.9569 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/1.605, allocations: 0 / 0.9569 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/1.606, allocations: 19.64 kB / 0.957 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/1.606, allocations: 7.891 kB / 0.957 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/1.606, allocations: 3.906 kB / 0.957 GB, free: 128.9 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001285/1.606, allocations: 177.9 kB / 0.9571 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005327/1.606, allocations: 125.6 kB / 0.9573 GB, free: 128.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senStr.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006011/1.607, allocations: 293.7 kB / 0.9575 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002408/1.607, allocations: 125.3 kB / 0.9577 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.607, allocations: 0 / 0.9577 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.46e-05/1.607, allocations: 43.36 kB / 0.9577 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/1.608, allocations: 100.4 kB / 0.9578 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/1.609, allocations: 353.8 kB / 0.9581 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/1.609, allocations: 0.8228 MB / 0.9589 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/1.609, allocations: 0 / 0.9589 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.009661/1.619, allocations: 5.75 MB / 0.9646 GB, free: 124.6 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)