Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.22/1.22, allocations: 249.4 MB / 256.7 MB, free: 6.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009017/0.0009017, allocations: 185.1 kB / 316 MB, free: 3.559 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.06/1.06, allocations: 205.1 MB / 0.5667 GB, free: 15.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008302/0.0008299, allocations: 90.14 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.152e-06/6.182e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5815, allocations: 138 MB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.5818, allocations: 72.41 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03379/0.6156, allocations: 13.59 MB / 1.033 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.846e-05/0.6156, allocations: 25.52 kB / 1.033 GB, free: 5.398 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001541/0.6172, allocations: 1.02 MB / 1.034 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.6172, allocations: 12.03 kB / 1.034 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001545/0.6174, allocations: 94.88 kB / 1.034 GB, free: 4.262 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/0.6182, allocations: 0.4896 MB / 1.034 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.6182, allocations: 20 kB / 1.034 GB, free: 3.793 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.6183, allocations: 40 kB / 1.034 GB, free: 3.754 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007822/0.6191, allocations: 459.8 kB / 1.035 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007504/0.6199, allocations: 468.7 kB / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.6199, allocations: 0 / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.62, allocations: 0 / 1.035 GB, free: 3.156 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.62, allocations: 19.94 kB / 1.035 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.6229, allocations: 1.79 MB / 1.037 GB, free: 1.727 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008072/0.6237, allocations: 430.5 kB / 1.037 GB, free: 1.441 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.624, allocations: 175.3 kB / 1.038 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.6241, allocations: 4.438 kB / 1.038 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004535/0.6245, allocations: 332.5 kB / 1.038 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=55): time 1.623e-06/0.6245, allocations: 0 / 1.038 GB, free: 1.062 MB / 0.6511 GB Notification: Performance of matching and sorting (n=55): time 0.0007376/0.6253, allocations: 424.6 kB / 1.038 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.6254, allocations: 239.8 kB / 1.039 GB, free: 480 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003742/0.6258, allocations: 350.4 kB / 1.039 GB, free: 208 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-05/0.6259, allocations: 29.7 kB / 1.039 GB, free: 172 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.6261, allocations: 268.2 kB / 1.039 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.6262, allocations: 162.6 kB / 1.039 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.309e-05/0.6263, allocations: 4 kB / 1.039 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.6264, allocations: 363.2 kB / 1.04 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.6266, allocations: 148.6 kB / 1.04 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.627, allocations: 323.4 kB / 1.04 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002771/0.6273, allocations: 180 kB / 1.04 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6273, allocations: 0 / 1.04 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007094/0.628, allocations: 483.9 kB / 1.041 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.6282, allocations: 448.8 kB / 1.041 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.6282, allocations: 0 / 1.041 GB, free: 14.15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6282, allocations: 4 kB / 1.041 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.6288, allocations: 130 kB / 1.041 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.6288, allocations: 4 kB / 1.041 GB, free: 14.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005522/0.6294, allocations: 119.5 kB / 1.041 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.779e-05/0.6294, allocations: 15.19 kB / 1.041 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.6294, allocations: 4 kB / 1.041 GB, free: 13.89 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005923/0.63, allocations: 382.7 kB / 1.042 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.63, allocations: 4 kB / 1.042 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/0.63, allocations: 0 / 1.042 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004571/0.6305, allocations: 115.2 kB / 1.042 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.6305, allocations: 3.938 kB / 1.042 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004685/0.631, allocations: 99.56 kB / 1.042 GB, free: 13.43 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.631, allocations: 15.19 kB / 1.042 GB, free: 13.41 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * 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.0001278/0.6312, allocations: 116.8 kB / 1.042 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.6312, allocations: 55.34 kB / 1.042 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008008/0.6321, allocations: 0.5105 MB / 1.043 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6321, allocations: 4 kB / 1.043 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6321, allocations: 0 / 1.043 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6321, allocations: 0 / 1.043 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.6341, allocations: 1.548 MB / 1.044 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.6342, allocations: 4 kB / 1.044 GB, free: 11.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.6346, allocations: 122.2 kB / 1.044 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.6347, allocations: 8 kB / 1.044 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.6347, allocations: 12 kB / 1.044 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.6347, allocations: 11.94 kB / 1.044 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6347, allocations: 4 kB / 1.044 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008654/0.6356, allocations: 0.9271 MB / 1.045 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.6358, allocations: 196.5 kB / 1.045 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.6359, allocations: 19.89 kB / 1.045 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004518/0.6363, allocations: 70.75 kB / 1.046 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.6365, allocations: 57.09 kB / 1.046 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.012e-05/0.6365, allocations: 23.12 kB / 1.046 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0002381/0.6368, allocations: 269.1 kB / 1.046 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006616/0.6374, allocations: 244.9 kB / 1.046 GB, free: 9.738 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 11 (scaYFan.sampleTrigger,scaTem.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,scaTem.active,scaTem.tActivateLast,scaYFan.active,scaYFan.tActivateLast) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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.0003277/0.6378, allocations: 186.6 kB / 1.046 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009573/0.6387, allocations: 0.6426 MB / 1.047 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6387, allocations: 0 / 1.047 GB, free: 9.137 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.6392, allocations: 265.1 kB / 1.047 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.6397, allocations: 85.88 kB / 1.047 GB, free: 8.898 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.6414, allocations: 0.9182 MB / 1.048 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.642, allocations: 0.9886 MB / 1.049 GB, free: 6.996 MB / 0.6667 GB Notification: Performance of SimCode: time 2.6e-07/0.6421, allocations: 7.938 kB / 1.049 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of Templates: time 0.0161/0.6582, allocations: 9.77 MB / 1.059 GB, free: 13.29 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Examples.SingleZoneVAVSupply_u.pipe 2>&1)