Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 102.6 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.00155/0.00155, allocations: 175.1 kB / 16.58 MB, free: 6.359 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.606/1.606, allocations: 223.3 MB / 240.6 MB, free: 5.32 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.615/2.615, allocations: 390.5 MB / 0.6662 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003843/0.0003843, allocations: 8 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8407/0.8411, allocations: 142.3 MB / 0.9544 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001784/0.8429, allocations: 1.28 MB / 0.9557 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.8439, allocations: 0.5539 MB / 0.9562 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.303e-05/0.8439, allocations: 0.9375 kB / 0.9562 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.273e-05/0.844, allocations: 3.938 kB / 0.9562 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.562e-05/0.8441, allocations: 13.98 kB / 0.9562 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.8444, allocations: 48.95 kB / 0.9563 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.8445, allocations: 37.02 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.8446, allocations: 13.95 kB / 0.9563 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.8447, allocations: 24.97 kB / 0.9563 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.8448, allocations: 19.67 kB / 0.9564 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.8449, allocations: 6.438 kB / 0.9564 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.845, allocations: 46.14 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.853e-05/0.8451, allocations: 14.55 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.8451, allocations: 33.14 kB / 0.9565 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.8453, allocations: 67.41 kB / 0.9565 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.8453, allocations: 0 / 0.9565 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8453, allocations: 0 / 0.9565 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.8453, allocations: 1.062 kB / 0.9565 GB, free: 6.5 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006088/0.8459, allocations: 382 kB / 0.9569 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.846, allocations: 13.45 kB / 0.9569 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000843/0.8468, allocations: 214.6 kB / 0.9571 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.847, allocations: 198.2 kB / 0.9573 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.8471, allocations: 28.05 kB / 0.9573 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.8471, allocations: 2.562 kB / 0.9573 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.8475, allocations: 175.2 kB / 0.9575 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.8476, allocations: 4 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.8476, allocations: 1.344 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.8476, allocations: 1.406 kB / 0.9575 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006051/0.8482, allocations: 242.3 kB / 0.9577 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.8491, allocations: 0.5105 MB / 0.9582 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.8496, allocations: 243.3 kB / 0.9585 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.8499, allocations: 123.3 kB / 0.9586 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.85, allocations: 80 / 0.9586 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.85, allocations: 39.53 kB / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.85, allocations: 0 / 0.9586 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0009463/0.8509, allocations: 374.2 kB / 0.959 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.851, allocations: 56.97 kB / 0.959 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.8511, allocations: 172.5 kB / 0.9592 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.8512, allocations: 25.7 kB / 0.9592 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.247e-05/0.8512, allocations: 105.4 kB / 0.9593 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.8512, allocations: 8.812 kB / 0.9593 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.8513, allocations: 7.938 kB / 0.9593 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.139e-05/0.8513, allocations: 321.1 kB / 0.9596 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.8516, allocations: 117.1 kB / 0.9598 GB, free: 4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.8519, allocations: 114 kB / 0.9599 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.8522, allocations: 101.7 kB / 0.96 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.8522, allocations: 1.375 kB / 0.96 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005755/0.8527, allocations: 264.8 kB / 0.9602 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.8528, allocations: 5.812 kB / 0.9602 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8528, allocations: 0 / 0.9602 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.8528, allocations: 4.031 kB / 0.9602 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.853, allocations: 46.72 kB / 0.9603 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.853, allocations: 1.031 kB / 0.9603 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.8532, allocations: 42.5 kB / 0.9603 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.8532, allocations: 6.047 kB / 0.9603 GB, free: 3.727 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.173e-05/0.8533, allocations: 115.5 kB / 0.9604 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.8534, allocations: 15.09 kB / 0.9604 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.8534, allocations: 7.094 kB / 0.9604 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.8534, allocations: 0.9688 kB / 0.9604 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.8534, allocations: 1 kB / 0.9604 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8534, allocations: 0 / 0.9604 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.8537, allocations: 246.3 kB / 0.9607 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8537, allocations: 5.031 kB / 0.9607 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.8539, allocations: 42.8 kB / 0.9607 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.8539, allocations: 7.938 kB / 0.9607 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.854, allocations: 6 kB / 0.9607 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.854, allocations: 0 / 0.9607 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.854, allocations: 1 kB / 0.9607 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.8546, allocations: 363.8 kB / 0.9611 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.8547, allocations: 88.08 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.8547, allocations: 5.016 kB / 0.9612 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.8549, allocations: 38.05 kB / 0.9612 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.8549, allocations: 1.156 kB / 0.9612 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.8549, allocations: 6.109 kB / 0.9612 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001055/0.8551, allocations: 130.8 kB / 0.9613 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8551, allocations: 0 / 0.9613 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002659/0.8553, allocations: 19.72 kB / 0.9614 GB, free: 2.855 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001727/0.8555, allocations: 102 kB / 0.9615 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006303/0.8562, allocations: 242.1 kB / 0.9617 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.8562, allocations: 0 / 0.9617 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003137/0.8565, allocations: 124.3 kB / 0.9618 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.8567, allocations: 5.969 kB / 0.9618 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.8574, allocations: 332.3 kB / 0.9621 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001595/0.8576, allocations: 0.6961 MB / 0.9628 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.892e-05/0.8576, allocations: 17.39 kB / 0.9628 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.8576, allocations: 4 kB / 0.9628 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of Templates: time 0.003651/0.8613, allocations: 1.652 MB / 0.9644 GB, free: 0.7969 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.Fluid.Storage.Ice.BaseClasses.Examples.QStarCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStarCalcHelperMain.o] Error 1