Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") translateModel(Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|setPoiVAV.TSupHeaEcoSet|setPoiVAV.TSupCooSet|setPoiVAV.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u") [: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 10.0.0-master/package.mo): time 1.983/1.983, allocations: 390.4 MB / 397.7 MB, free: 11.28 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 183.6 kB / 490.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 221.3 MB / 0.7863 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000901/0.0009006, allocations: 95.23 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.63e-06/5.72e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.2334, allocations: 143 MB / 1.212 GB, free: 40.13 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6188/0.8522, allocations: 156.1 MB / 1.364 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.8525, allocations: 76.73 kB / 1.364 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03953/0.892, allocations: 15.07 MB / 1.379 GB, free: 15.56 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.893e-05/0.8921, allocations: 17.25 kB / 1.379 GB, free: 15.56 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002792/0.8949, allocations: 1.111 MB / 1.38 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.895, allocations: 8.844 kB / 1.38 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005661/0.8955, allocations: 97 kB / 1.38 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.8974, allocations: 0.5967 MB / 1.381 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/0.8975, allocations: 24.44 kB / 1.381 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002776/0.8977, allocations: 47.62 kB / 1.381 GB, free: 30.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00156/0.8993, allocations: 495.5 kB / 1.381 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.9008, allocations: 0.5163 MB / 1.382 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.9009, allocations: 0 / 1.382 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.416e-05/0.901, allocations: 0.8438 kB / 1.382 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.901, allocations: 18.47 kB / 1.382 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004073/0.9051, allocations: 1.893 MB / 1.383 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009574/0.906, allocations: 435.5 kB / 1.384 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002944/0.9064, allocations: 185.4 kB / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.834e-05/0.9064, allocations: 17.59 kB / 1.384 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000449/0.9069, allocations: 324.7 kB / 1.384 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=57): time 2.424e-06/0.9069, allocations: 0 / 1.384 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57): time 0.0008741/0.9078, allocations: 426.9 kB / 1.385 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/0.9078, allocations: 213.8 kB / 1.385 GB, free: 28.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/0.9084, allocations: 394.9 kB / 1.385 GB, free: 28.56 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.005e-05/0.9085, allocations: 33.11 kB / 1.385 GB, free: 28.53 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.9087, allocations: 311.7 kB / 1.386 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.9089, allocations: 164.1 kB / 1.386 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.9089, allocations: 0 / 1.386 GB, free: 28.17 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.909, allocations: 370.5 kB / 1.386 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.9094, allocations: 165.2 kB / 1.386 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004307/0.9098, allocations: 337.4 kB / 1.387 GB, free: 27.65 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/0.9101, allocations: 189.8 kB / 1.387 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.9101, allocations: 1.312 kB / 1.387 GB, free: 27.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.000903/0.911, allocations: 0.5047 MB / 1.387 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.9113, allocations: 0.6189 MB / 1.388 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.9113, allocations: 2.312 kB / 1.388 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.9113, allocations: 4.469 kB / 1.388 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.9119, allocations: 134 kB / 1.388 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.9119, allocations: 9.203 kB / 1.388 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.9126, allocations: 98.03 kB / 1.388 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.9126, allocations: 18.59 kB / 1.388 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/0.9126, allocations: 4.562 kB / 1.388 GB, free: 26.78 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006975/0.9133, allocations: 425.6 kB / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9134, allocations: 1.375 kB / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.9134, allocations: 8.266 kB / 1.389 GB, free: 26.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.9139, allocations: 129.9 kB / 1.389 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.9139, allocations: 8.969 kB / 1.389 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.9145, allocations: 92.78 kB / 1.389 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.9146, allocations: 17.75 kB / 1.389 GB, free: 26.65 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,scaTem.active,$PRE.scaTem.tActivateLast,scaTem.tActivateLast,scaTem.sampleTrigger,scaYFan.active,$PRE.scaYFan.tActivateLast,scaYFan.tActivateLast,scaYFan.sampleTrigger,plotConfiguration.activate_internal,$PRE.setPoiVAV.heaSta.greHys.y,setPoiVAV.heaSta.greHys.y,$PRE.setPoiVAV.gre.greHys.y,setPoiVAV.gre.greHys.y,setPoiVAV.y1SupFan) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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 0.0001779/0.9148, allocations: 131.8 kB / 1.389 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.9149, allocations: 59.34 kB / 1.389 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.9159, allocations: 0.5586 MB / 1.39 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.916, allocations: 10.69 kB / 1.39 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.916, allocations: 0 / 1.39 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.916, allocations: 8.828 kB / 1.39 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.9181, allocations: 1.391 MB / 1.391 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.9181, allocations: 3.844 kB / 1.391 GB, free: 25.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005142/0.9187, allocations: 123.3 kB / 1.391 GB, free: 25.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.9187, allocations: 14.45 kB / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.9187, allocations: 10.28 kB / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.037e-06/0.9188, allocations: 10.34 kB / 1.391 GB, free: 25.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.9188, allocations: 12.06 kB / 1.391 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001189/0.92, allocations: 1.05 MB / 1.392 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.9202, allocations: 193.7 kB / 1.392 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.9203, allocations: 6.594 kB / 1.392 GB, free: 24.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/0.9209, allocations: 77.22 kB / 1.392 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.921, allocations: 57.72 kB / 1.392 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/0.9211, allocations: 26.42 kB / 1.392 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0003337/0.9214, allocations: 309.9 kB / 1.393 GB, free: 24.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009475/0.9224, allocations: 280.4 kB / 1.393 GB, free: 24.62 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 1 (setPoiVAV.ramLim.y) * Number of discrete variables: 13 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast,setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Number of discrete states: 2 (setPoiVAV.heaSta.greHys.y,setPoiVAV.gre.greHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004084/0.9228, allocations: 187 kB / 1.393 GB, free: 24.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.924, allocations: 0.6821 MB / 1.394 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.924, allocations: 1.656 kB / 1.394 GB, free: 24.44 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000456/0.9245, allocations: 256 kB / 1.394 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.9251, allocations: 125.4 kB / 1.394 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.9273, allocations: 0.9779 MB / 1.395 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/0.928, allocations: 1.022 MB / 1.396 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of SimCode: time 2.8e-07/0.928, allocations: 0 / 1.396 GB, free: 23.05 MB / 0.8386 GB Notification: Performance of Templates: time 0.02316/0.9512, allocations: 11.06 MB / 1.407 GB, free: 16.1 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)