Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001119, allocations: 100.8 kB / 15.71 MB, free: 456 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.001502/0.001503, allocations: 174.6 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.536/1.536, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.758/2.758, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003861, allocations: 8 kB / 0.8717 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8839/0.8843, allocations: 153.6 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005653/0.89, allocations: 4.072 MB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1828/1.073, allocations: 137.1 MB / 1.16 GB, free: 3.508 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/1.074, allocations: 23.88 kB / 1.16 GB, free: 3.484 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006408/1.075, allocations: 166.7 kB / 1.16 GB, free: 3.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/1.077, allocations: 487.5 kB / 1.16 GB, free: 2.848 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002146/1.079, allocations: 0.6434 MB / 1.161 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00186/1.081, allocations: 1.168 MB / 1.162 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009358/1.081, allocations: 0.492 MB / 1.163 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006686/1.082, allocations: 338.5 kB / 1.163 GB, free: 204 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/1.083, allocations: 382 kB / 1.163 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.285e-05/1.083, allocations: 28 kB / 1.163 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/1.084, allocations: 359.6 kB / 1.164 GB, free: 15.45 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/1.084, allocations: 183.1 kB / 1.164 GB, free: 15.27 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.000241/1.084, allocations: 209.1 kB / 1.164 GB, free: 15.05 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001614/1.086, allocations: 1.224 MB / 1.165 GB, free: 13.83 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/1.086, allocations: 4 kB / 1.165 GB, free: 13.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.447e-06/1.086, allocations: 0 / 1.165 GB, free: 13.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.123e-05/1.086, allocations: 4 kB / 1.165 GB, free: 13.82 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002641/1.089, allocations: 1.28 MB / 1.166 GB, free: 12.49 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.089, allocations: 12.03 kB / 1.166 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008973/1.09, allocations: 198.4 kB / 1.167 GB, free: 12.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/1.091, allocations: 0.7543 MB / 1.167 GB, free: 11.49 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.088e-05/1.091, allocations: 66 kB / 1.167 GB, free: 11.42 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/1.091, allocations: 84 kB / 1.167 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/1.093, allocations: 0.9456 MB / 1.168 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/1.093, allocations: 0 / 1.168 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/1.093, allocations: 36 kB / 1.168 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/1.093, allocations: 20 kB / 1.168 GB, free: 10.3 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/1.095, allocations: 1.143 MB / 1.17 GB, free: 9.156 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004789/1.1, allocations: 2.621 MB / 1.172 GB, free: 6.465 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/1.102, allocations: 0.8275 MB / 1.173 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006038/1.102, allocations: 320.4 kB / 1.173 GB, free: 5.324 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002459/1.102, allocations: 117.7 kB / 1.173 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/1.104, allocations: 0.5031 MB / 1.174 GB, free: 4.668 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 3.196e-06/1.104, allocations: 3.938 kB / 1.174 GB, free: 4.664 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.003568/1.107, allocations: 1.268 MB / 1.175 GB, free: 3.371 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/1.107, allocations: 192.6 kB / 1.175 GB, free: 3.137 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/1.108, allocations: 0.6765 MB / 1.176 GB, free: 2.449 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/1.109, allocations: 45.7 kB / 1.176 GB, free: 2.398 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/1.109, allocations: 424.3 kB / 1.176 GB, free: 1.977 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000323/1.109, allocations: 268.2 kB / 1.177 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/1.109, allocations: 16 kB / 1.177 GB, free: 1.695 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002317/1.11, allocations: 390.7 kB / 1.177 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/1.11, allocations: 289.8 kB / 1.177 GB, free: 1.023 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007331/1.111, allocations: 375.1 kB / 1.178 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/1.112, allocations: 326.9 kB / 1.178 GB, free: 332 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.112, allocations: 0 / 1.178 GB, free: 332 kB / 0.92 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002081/1.114, allocations: 0.8955 MB / 1.179 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/1.114, allocations: 4 kB / 1.179 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.114, allocations: 3.984 kB / 1.179 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006027/1.114, allocations: 88.86 kB / 1.179 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006686/1.115, allocations: 171.7 kB / 1.179 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/1.118, allocations: 1.528 MB / 1.181 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/1.118, allocations: 105.5 kB / 1.181 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/1.118, allocations: 44.03 kB / 1.181 GB, free: 13.34 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006073/1.119, allocations: 275.3 kB / 1.181 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/1.119, allocations: 87.16 kB / 1.181 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/1.122, allocations: 1.124 MB / 1.182 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.122, allocations: 12 kB / 1.182 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/1.122, allocations: 4 kB / 1.182 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/1.122, allocations: 3.984 kB / 1.182 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/1.123, allocations: 0.9464 MB / 1.183 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.123, allocations: 0 / 1.183 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007212/1.124, allocations: 151.8 kB / 1.183 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004775/1.125, allocations: 92.7 kB / 1.183 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.047e-05/1.125, allocations: 31.91 kB / 1.183 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/1.127, allocations: 1.56 MB / 1.185 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.127, allocations: 0 / 1.185 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/1.129, allocations: 0.9745 MB / 1.186 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005377/1.13, allocations: 303.5 kB / 1.186 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/1.13, allocations: 19.95 kB / 1.186 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000595/1.13, allocations: 85.55 kB / 1.186 GB, free: 7.426 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/1.131, allocations: 76.89 kB / 1.186 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.776e-05/1.131, allocations: 31.98 kB / 1.186 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007997/1.132, allocations: 487 kB / 1.187 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.132, allocations: 0 / 1.187 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001178/1.133, allocations: 319.3 kB / 1.187 GB, free: 6.535 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001619/1.134, allocations: 0.6036 MB / 1.188 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001984/1.136, allocations: 0.8665 MB / 1.189 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.136, allocations: 0 / 1.189 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009999/1.137, allocations: 0.5315 MB / 1.189 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/1.139, allocations: 277.5 kB / 1.189 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0048/1.143, allocations: 2.367 MB / 1.192 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008213/1.144, allocations: 1.043 MB / 1.193 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003684/1.145, allocations: 119.3 kB / 1.193 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of SimCode: time 1.633e-06/1.145, allocations: 0 / 1.193 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of Templates: time 0.03431/1.179, allocations: 19.32 MB / 1.212 GB, free: 13.57 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile make -j1 -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.o OMCppBuildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.o] Error 1