Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009935/0.0009937, allocations: 103 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.00129/0.00129, allocations: 171.7 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.544/1.544, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.946/2.946, allocations: 436.7 MB / 0.7113 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 8 kB / 0.8717 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9046/0.905, allocations: 153.7 MB / 1.022 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.001819/0.9069, allocations: 1.283 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0009448/0.9078, allocations: 0.5545 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.007e-05/0.9079, allocations: 3.938 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.9079, allocations: 4 kB / 1.024 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.748e-05/0.908, allocations: 15.91 kB / 1.024 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.9083, allocations: 35.91 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.061e-05/0.9084, allocations: 43.84 kB / 1.024 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.839e-05/0.9085, allocations: 11.98 kB / 1.024 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.9085, allocations: 19.92 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.361e-05/0.9086, allocations: 27.86 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.9087, allocations: 0 / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.9088, allocations: 47.94 kB / 1.024 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.9088, allocations: 19.92 kB / 1.024 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.9089, allocations: 33.7 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.909, allocations: 63.88 kB / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.909, allocations: 0 / 1.024 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.909, allocations: 4 kB / 1.024 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.909, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.7794 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.0004948/0.9095, allocations: 385 kB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.9095, allocations: 15.97 kB / 1.024 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007741/0.9103, allocations: 211.5 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.9105, allocations: 188.5 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.9106, allocations: 29.7 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.9106, allocations: 7.953 kB / 1.025 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.911, allocations: 173.5 kB / 1.025 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.911, allocations: 4 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.911, allocations: 4 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.911, allocations: 0 / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000532/0.9116, allocations: 243.7 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008365/0.9124, allocations: 0.5153 MB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005482/0.913, allocations: 246.3 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.9133, allocations: 116.8 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.9133, allocations: 8 kB / 1.026 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.9134, allocations: 30.56 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.9134, allocations: 0 / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.001017/0.9144, allocations: 377.2 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.9145, allocations: 55.53 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.9146, allocations: 164.6 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.9147, allocations: 25.7 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.462e-05/0.9148, allocations: 108.1 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.9148, allocations: 7.844 kB / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.9148, allocations: 0 / 1.027 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.915, allocations: 326.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.9152, allocations: 115.9 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.9155, allocations: 115.9 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002478/0.9158, allocations: 99.89 kB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9158, allocations: 0 / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0006145/0.9164, allocations: 261.4 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.9164, allocations: 4 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.9165, allocations: 4.031 kB / 1.028 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.9165, allocations: 4 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.9167, allocations: 43.91 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.9167, allocations: 0 / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.9169, allocations: 43.84 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.9169, allocations: 7.984 kB / 1.028 GB, free: 10.85 MB / 0.7794 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 0.0001193/0.917, allocations: 117.8 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.9171, allocations: 11.89 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.566e-05/0.9171, allocations: 11.88 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.431e-06/0.9171, allocations: 4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.9171, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.9172, allocations: 0 / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000354/0.9175, allocations: 245.5 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9175, allocations: 8 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.9177, allocations: 47.84 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.9177, allocations: 0 / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.9177, allocations: 4 kB / 1.028 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.9178, allocations: 3.938 kB / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.9178, allocations: 0 / 1.028 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.9185, allocations: 363.2 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.9186, allocations: 89 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.9186, allocations: 3.938 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.9188, allocations: 39.92 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.9189, allocations: 0 / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.9189, allocations: 12.02 kB / 1.029 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001179/0.919, allocations: 122.8 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.919, allocations: 0 / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002642/0.9193, allocations: 20 kB / 1.029 GB, free: 9.676 MB / 0.7794 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.0002149/0.9195, allocations: 103.2 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006232/0.9202, allocations: 239.7 kB / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9202, allocations: 0 / 1.029 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002976/0.9205, allocations: 127.9 kB / 1.029 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.9207, allocations: 5.844 kB / 1.029 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.9214, allocations: 328.2 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.9218, allocations: 0.6965 MB / 1.03 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.087e-05/0.9219, allocations: 19.42 kB / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9219, allocations: 0 / 1.03 GB, free: 8.109 MB / 0.7794 GB Notification: Performance of Templates: time 0.003504/0.9254, allocations: 1.658 MB / 1.032 GB, free: 6.449 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStarCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStarCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStarCalcHelperMain.o] Error 1