Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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 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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.y|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.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_9_Buildings.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.0008894/0.0008892, allocations: 102.5 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.0009528/0.0009528, allocations: 173.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.512/1.512, allocations: 223.3 MB / 240.6 MB, free: 5.332 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.461/2.461, allocations: 390.5 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.0003658, allocations: 8 kB / 0.8154 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9103/0.9107, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00745/0.9182, allocations: 4.033 MB / 0.9583 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.201/1.119, allocations: 137.2 MB / 1.092 GB, free: 2.57 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/1.121, allocations: 19.88 kB / 1.092 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001117/1.122, allocations: 158.8 kB / 1.092 GB, free: 2.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002903/1.125, allocations: 485 kB / 1.093 GB, free: 1.922 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002757/1.128, allocations: 0.6409 MB / 1.094 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002611/1.13, allocations: 1.172 MB / 1.095 GB, free: 116 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001319/1.132, allocations: 0.4921 MB / 1.095 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/1.133, allocations: 342.4 kB / 1.096 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009266/1.134, allocations: 378 kB / 1.096 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002753/1.134, allocations: 24 kB / 1.096 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/1.135, allocations: 359.6 kB / 1.096 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003662/1.136, allocations: 183.1 kB / 1.096 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003529/1.136, allocations: 209.1 kB / 1.097 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/1.138, allocations: 1.231 MB / 1.098 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.138, allocations: 0 / 1.098 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/1.138, allocations: 0 / 1.098 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.471e-05/1.138, allocations: 0 / 1.098 GB, free: 12.9 MB / 0.8575 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.002654/1.141, allocations: 1.282 MB / 1.099 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/1.141, allocations: 8.031 kB / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009214/1.142, allocations: 202.3 kB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/1.143, allocations: 0.7427 MB / 1.1 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/1.143, allocations: 65.98 kB / 1.1 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/1.143, allocations: 80 kB / 1.1 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/1.145, allocations: 0.9417 MB / 1.101 GB, free: 9.445 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/1.145, allocations: 3.938 kB / 1.101 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.843e-05/1.145, allocations: 47.95 kB / 1.101 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/1.145, allocations: 20 kB / 1.101 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/1.147, allocations: 1.143 MB / 1.102 GB, free: 8.23 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004502/1.151, allocations: 2.611 MB / 1.105 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/1.153, allocations: 0.8353 MB / 1.106 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/1.153, allocations: 318.7 kB / 1.106 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/1.154, allocations: 109.7 kB / 1.106 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009583/1.155, allocations: 0.5186 MB / 1.107 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.786e-06/1.155, allocations: 0 / 1.107 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.003278/1.158, allocations: 1.258 MB / 1.108 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/1.158, allocations: 200.5 kB / 1.108 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009703/1.159, allocations: 0.6725 MB / 1.109 GB, free: 1.527 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/1.159, allocations: 41.7 kB / 1.109 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/1.16, allocations: 424.4 kB / 1.109 GB, free: 1.059 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000247/1.16, allocations: 264.2 kB / 1.109 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/1.16, allocations: 16 kB / 1.109 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.16, allocations: 398.7 kB / 1.11 GB, free: 392 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/1.161, allocations: 285.8 kB / 1.11 GB, free: 104 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006855/1.161, allocations: 387.1 kB / 1.11 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/1.162, allocations: 322.8 kB / 1.111 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/1.162, allocations: 0 / 1.111 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002025/1.164, allocations: 0.9032 MB / 1.112 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/1.164, allocations: 5.25 kB / 1.112 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.164, allocations: 0 / 1.112 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/1.165, allocations: 84.88 kB / 1.112 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000672/1.165, allocations: 171.7 kB / 1.112 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/1.167, allocations: 1.521 MB / 1.113 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/1.168, allocations: 115.3 kB / 1.113 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.398e-05/1.168, allocations: 35.97 kB / 1.113 GB, free: 12.41 MB / 0.8731 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.0005494/1.169, allocations: 271.6 kB / 1.114 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/1.169, allocations: 86.97 kB / 1.114 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/1.171, allocations: 1.136 MB / 1.115 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.197e-05/1.171, allocations: 12 kB / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.171, allocations: 0 / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.171, allocations: 3.984 kB / 1.115 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/1.173, allocations: 0.9502 MB / 1.116 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.173, allocations: 0 / 1.116 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006042/1.173, allocations: 151.8 kB / 1.116 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/1.174, allocations: 84.72 kB / 1.116 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/1.174, allocations: 27.97 kB / 1.116 GB, free: 9.633 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.176, allocations: 1.556 MB / 1.118 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.176, allocations: 0 / 1.118 GB, free: 7.938 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/1.178, allocations: 0.9824 MB / 1.119 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004635/1.178, allocations: 299.5 kB / 1.119 GB, free: 6.621 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.178, allocations: 20 kB / 1.119 GB, free: 6.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/1.179, allocations: 84.73 kB / 1.119 GB, free: 6.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.179, allocations: 72.95 kB / 1.119 GB, free: 6.449 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.069e-05/1.179, allocations: 39.97 kB / 1.119 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0007227/1.18, allocations: 483 kB / 1.119 GB, free: 5.941 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.18, allocations: 3.938 kB / 1.119 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001044/1.181, allocations: 323.2 kB / 1.12 GB, free: 5.621 MB / 0.8731 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.001538/1.183, allocations: 0.6057 MB / 1.12 GB, free: 5.188 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001979/1.185, allocations: 0.8665 MB / 1.121 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.185, allocations: 0 / 1.121 GB, free: 4.309 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/1.186, allocations: 0.5392 MB / 1.122 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/1.187, allocations: 270.2 kB / 1.122 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004556/1.191, allocations: 2.375 MB / 1.124 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/1.192, allocations: 1.042 MB / 1.125 GB, free: 28 kB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/1.193, allocations: 119.4 kB / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of SimCode: time 2.425e-06/1.193, allocations: 0 / 1.125 GB, free: 15.91 MB / 0.8887 GB Notification: Performance of Templates: time 0.03029/1.223, allocations: 19.32 MB / 1.144 GB, free: 12.63 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile make -j1 -f Buildings_9_Buildings.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 9.1.2-maint.9.1.x/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 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.o] Error 1