Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009802/0.0009802, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 173.8 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.556/1.556, allocations: 223.3 MB / 240.6 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.679/2.679, allocations: 390.5 MB / 0.6662 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004555, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.049, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.003369/1.053, allocations: 2.681 MB / 0.957 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001543/1.054, allocations: 0.7928 MB / 0.9578 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/1.055, allocations: 13.91 kB / 0.9578 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002262/1.055, allocations: 65.12 kB / 0.9579 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/1.055, allocations: 57.31 kB / 0.9579 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/1.055, allocations: 139.1 kB / 0.9581 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006015/1.056, allocations: 0.6272 MB / 0.9587 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004655/1.056, allocations: 269 kB / 0.9589 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/1.057, allocations: 161.1 kB / 0.9591 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002036/1.057, allocations: 181.7 kB / 0.9593 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/1.057, allocations: 16.5 kB / 0.9593 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 4.804e-05/1.057, allocations: 19.12 kB / 0.9593 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.31e-05/1.057, allocations: 81.38 kB / 0.9594 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.711e-05/1.057, allocations: 120.9 kB / 0.9595 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005989/1.058, allocations: 0.7414 MB / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.058, allocations: 1.156 kB / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/1.058, allocations: 0 / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.636e-06/1.058, allocations: 0 / 0.9602 GB, free: 3.512 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001346/1.059, allocations: 0.8419 MB / 0.961 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/1.059, allocations: 13.06 kB / 0.9611 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001364/1.059, allocations: 77.86 kB / 0.9611 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/1.06, allocations: 452.1 kB / 0.9616 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.766e-05/1.06, allocations: 39.31 kB / 0.9616 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/1.06, allocations: 50.38 kB / 0.9616 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/1.061, allocations: 0.5556 MB / 0.9622 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.061, allocations: 3.984 kB / 0.9622 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/1.061, allocations: 21.47 kB / 0.9622 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/1.061, allocations: 16.62 kB / 0.9622 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/1.062, allocations: 450.8 kB / 0.9627 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/1.065, allocations: 1.858 MB / 0.9645 GB, free: 316 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/1.066, allocations: 0.5503 MB / 0.965 GB, free: 64 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/1.067, allocations: 223.3 kB / 0.9652 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.892e-05/1.067, allocations: 4.312 kB / 0.9652 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.575e-05/1.067, allocations: 36.72 kB / 0.9653 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 2.334e-06/1.067, allocations: 0 / 0.9653 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.001379/1.068, allocations: 0.529 MB / 0.9658 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/1.068, allocations: 110.3 kB / 0.9659 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007446/1.069, allocations: 0.4905 MB / 0.9664 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/1.069, allocations: 36.94 kB / 0.9664 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/1.07, allocations: 296.5 kB / 0.9667 GB, free: 14.92 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001198/1.07, allocations: 107.5 kB / 0.9668 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.946e-05/1.07, allocations: 5.062 kB / 0.9668 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002021/1.07, allocations: 357.8 kB / 0.9671 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/1.07, allocations: 163 kB / 0.9673 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000494/1.071, allocations: 267.7 kB / 0.9675 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000416/1.071, allocations: 169.7 kB / 0.9677 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.071, allocations: 1.156 kB / 0.9677 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001054/1.072, allocations: 494.7 kB / 0.9682 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001291/1.072, allocations: 139.1 kB / 0.9683 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/1.072, allocations: 5.688 kB / 0.9683 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.072, allocations: 4 kB / 0.9683 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/1.073, allocations: 97.25 kB / 0.9684 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/1.073, allocations: 7.625 kB / 0.9684 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/1.073, allocations: 82.98 kB / 0.9685 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/1.073, allocations: 18.25 kB / 0.9685 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.736e-06/1.073, allocations: 4.312 kB / 0.9685 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007301/1.074, allocations: 344.7 kB / 0.9688 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.074, allocations: 1.625 kB / 0.9688 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-06/1.074, allocations: 4.438 kB / 0.9689 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003068/1.074, allocations: 75.48 kB / 0.9689 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/1.074, allocations: 6.641 kB / 0.9689 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/1.075, allocations: 72.12 kB / 0.969 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/1.075, allocations: 14.22 kB / 0.969 GB, free: 13.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0003494/1.075, allocations: 268.8 kB / 0.9693 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.075, allocations: 46.97 kB / 0.9693 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/1.076, allocations: 426.8 kB / 0.9697 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.076, allocations: 3.938 kB / 0.9697 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.076, allocations: 3.953 kB / 0.9697 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/1.076, allocations: 5.359 kB / 0.9697 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007631/1.077, allocations: 0.5424 MB / 0.9703 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/1.077, allocations: 64 / 0.9703 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/1.077, allocations: 85.55 kB / 0.9703 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.077, allocations: 5.047 kB / 0.9703 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/1.077, allocations: 6.562 kB / 0.9704 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/1.077, allocations: 5.484 kB / 0.9704 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.077, allocations: 0 / 0.9704 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/1.079, allocations: 0.6938 MB / 0.971 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/1.079, allocations: 129.1 kB / 0.9712 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.859e-05/1.079, allocations: 10.28 kB / 0.9712 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/1.079, allocations: 47.34 kB / 0.9712 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/1.079, allocations: 31.11 kB / 0.9712 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/1.079, allocations: 7.062 kB / 0.9713 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005327/1.08, allocations: 349.1 kB / 0.9716 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.08, allocations: 3.938 kB / 0.9716 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006547/1.081, allocations: 177.1 kB / 0.9718 GB, free: 11.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0001864/1.081, allocations: 110.2 kB / 0.9719 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001373/1.082, allocations: 0.5504 MB / 0.9724 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.082, allocations: 1.094 kB / 0.9724 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004123/1.083, allocations: 185.3 kB / 0.9726 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006945/1.083, allocations: 93.11 kB / 0.9727 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001996/1.085, allocations: 1.074 MB / 0.9737 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005941/1.086, allocations: 0.8507 MB / 0.9745 GB, free: 9.578 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/1.086, allocations: 42.17 kB / 0.9746 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of SimCode: time 1.653e-06/1.086, allocations: 0 / 0.9746 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of Templates: time 0.01163/1.098, allocations: 6.205 MB / 0.9806 GB, free: 4.758 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAVCalcHelperMain.o OMCppBuildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAVCalcHelperMain.o] Error 1