Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|soc.Q_flow|soc.SOC",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000882/0.000882, 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.001112/0.001112, allocations: 176 kB / 16.58 MB, free: 6.859 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.512/1.512, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.754/2.754, allocations: 436.7 MB / 0.7113 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 8 kB / 0.8717 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9614/0.9618, allocations: 153.7 MB / 1.022 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge): time 0.001695/0.9635, allocations: 1.276 MB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006387/0.9642, allocations: 415.4 kB / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.019e-05/0.9642, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.553e-05/0.9642, allocations: 11.92 kB / 1.023 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.032e-05/0.9643, allocations: 11.92 kB / 1.023 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.9644, allocations: 19.98 kB / 1.023 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.9645, allocations: 67.7 kB / 1.023 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.147e-05/0.9646, allocations: 15.98 kB / 1.023 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.9647, allocations: 23.92 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.428e-05/0.9647, allocations: 23.91 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.39e-05/0.9648, allocations: 4 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.037e-06/0.9648, allocations: 4 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.201e-05/0.9648, allocations: 19.91 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.9648, allocations: 37.7 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.514e-05/0.9649, allocations: 37.88 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.9649, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9649, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.9649, allocations: 0 / 1.024 GB, free: 15.09 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000395/0.9653, allocations: 367.1 kB / 1.024 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.9654, allocations: 15.98 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.9654, allocations: 8 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.9655, allocations: 174.9 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.875e-05/0.9656, allocations: 7.984 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.9656, allocations: 4 kB / 1.024 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.9658, allocations: 93.59 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.9658, allocations: 4 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.9658, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.9659, allocations: 0 / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.966, allocations: 55.91 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.9666, allocations: 316.8 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.9668, allocations: 106.5 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.9669, allocations: 44.84 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.967, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002712/0.9672, allocations: 127.2 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/0.9672, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.0003784/0.9676, allocations: 169.6 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.9677, allocations: 51.41 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.9678, allocations: 113.8 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.9678, allocations: 29.7 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.9679, allocations: 96.36 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.9679, allocations: 27.8 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.9679, allocations: 3.938 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.9681, allocations: 318.8 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.9681, allocations: 31.98 kB / 1.026 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.091e-05/0.9682, allocations: 48.83 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.9683, allocations: 39.88 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9683, allocations: 0 / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001995/0.9685, allocations: 114 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.9686, allocations: 4 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.9686, allocations: 7.984 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.9686, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.976e-05/0.9687, allocations: 8 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.9687, allocations: 8 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.9688, allocations: 15.89 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.9688, allocations: 7.938 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.soc.charged,soc.charged,$PRE.soc.discharged,soc.discharged,soc.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.993e-05/0.9689, allocations: 121.7 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.9689, allocations: 11.98 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.368e-05/0.969, allocations: 12.38 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.969, allocations: 3.938 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.969, allocations: 4 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.969, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.9692, allocations: 197.5 kB / 1.026 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.9692, allocations: 3.953 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.987e-05/0.9693, allocations: 15.98 kB / 1.026 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.9693, allocations: 4.031 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.9693, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.9693, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9693, allocations: 0 / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003702/0.9697, allocations: 232.9 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.9697, allocations: 81.06 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.449e-05/0.9698, allocations: 8.031 kB / 1.027 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.311e-05/0.9698, allocations: 7.984 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.9699, allocations: 19.97 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.203e-05/0.9699, allocations: 8.062 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.97, allocations: 91.58 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.97, allocations: 0 / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001927/0.9702, allocations: 20 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (soc.SOC) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,soc.charged,soc.discharged,soc.suspend) * Number of discrete states: 2 (soc.discharged,soc.charged) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001331/0.9703, allocations: 103.2 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000219/0.9706, allocations: 91.91 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9706, allocations: 4 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.9707, allocations: 71.89 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.9709, allocations: 11.98 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.9714, allocations: 320.4 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.9717, allocations: 0.6887 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.9718, allocations: 19.44 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.9718, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Templates: time 0.00268/0.9745, allocations: 1.111 MB / 1.029 GB, free: 9.109 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfCharge.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.StateOfChargeCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfChargeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.StateOfChargeCalcHelperMain.o] Error 1