Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumCon.on|pumCon.criSol.G_TC|pumCon.weaBus.HDirNor",fileNamePrefix="Buildings_latest_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.001098/0.001098, allocations: 102.7 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.00164/0.00164, allocations: 173.8 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.478/1.478, allocations: 223.2 MB / 240.6 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.99/2.99, allocations: 436.7 MB / 0.7113 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8 kB / 0.8717 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8562/0.8566, allocations: 153.7 MB / 1.022 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007092/0.8638, allocations: 5.126 MB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1759/1.04, allocations: 137.7 MB / 1.161 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/1.041, allocations: 19.94 kB / 1.161 GB, free: 1.957 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006427/1.041, allocations: 186.5 kB / 1.161 GB, free: 1.773 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00297/1.044, allocations: 0.5627 MB / 1.162 GB, free: 1.211 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/1.047, allocations: 0.7905 MB / 1.163 GB, free: 436 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.002578/1.05, allocations: 1.8 MB / 1.164 GB, free: 14.62 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/1.051, allocations: 0.9448 MB / 1.165 GB, free: 13.65 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009202/1.052, allocations: 0.5327 MB / 1.166 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/1.053, allocations: 0.6217 MB / 1.167 GB, free: 12.49 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/1.053, allocations: 44 kB / 1.167 GB, free: 12.45 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009938/1.054, allocations: 375.6 kB / 1.167 GB, free: 12.08 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000296/1.054, allocations: 290.6 kB / 1.167 GB, free: 11.8 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002967/1.055, allocations: 320.8 kB / 1.168 GB, free: 11.48 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002161/1.057, allocations: 2.26 MB / 1.17 GB, free: 9.211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/1.057, allocations: 4 kB / 1.17 GB, free: 9.207 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.823e-06/1.057, allocations: 0 / 1.17 GB, free: 9.207 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.435e-05/1.057, allocations: 0 / 1.17 GB, free: 9.207 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.003769/1.061, allocations: 1.84 MB / 1.172 GB, free: 7.312 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.061, allocations: 11.98 kB / 1.172 GB, free: 7.301 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005343/1.066, allocations: 0.9263 MB / 1.172 GB, free: 6.371 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/1.068, allocations: 1.055 MB / 1.173 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/1.068, allocations: 123.3 kB / 1.174 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/1.068, allocations: 156 kB / 1.174 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00468/1.073, allocations: 2.067 MB / 1.176 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/1.073, allocations: 0 / 1.176 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/1.073, allocations: 71.98 kB / 1.176 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/1.073, allocations: 40 kB / 1.176 GB, free: 2.773 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/1.079, allocations: 2.499 MB / 1.178 GB, free: 276 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009517/1.089, allocations: 5.306 MB / 1.183 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/1.093, allocations: 1.717 MB / 1.185 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/1.094, allocations: 0.8077 MB / 1.186 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/1.095, allocations: 491.1 kB / 1.186 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002341/1.097, allocations: 1.078 MB / 1.187 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=139): time 2.856e-06/1.097, allocations: 0 / 1.187 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=139): time 0.006975/1.104, allocations: 2.618 MB / 1.19 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/1.105, allocations: 201.2 kB / 1.19 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.106, allocations: 0.8743 MB / 1.191 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/1.106, allocations: 57.64 kB / 1.191 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/1.107, allocations: 0.6251 MB / 1.192 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/1.107, allocations: 453.5 kB / 1.192 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/1.107, allocations: 24 kB / 1.192 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.107, allocations: 353.9 kB / 1.193 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/1.109, allocations: 0.6936 MB / 1.193 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/1.111, allocations: 0.832 MB / 1.194 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/1.113, allocations: 0.7286 MB / 1.195 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.113, allocations: 0 / 1.195 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00484/1.118, allocations: 1.851 MB / 1.197 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.118, allocations: 4 kB / 1.197 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/1.118, allocations: 7.984 kB / 1.197 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005535/1.118, allocations: 84.84 kB / 1.197 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.12, allocations: 347.5 kB / 1.197 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/1.122, allocations: 1.536 MB / 1.198 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/1.124, allocations: 218.8 kB / 1.199 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/1.124, allocations: 63.94 kB / 1.199 GB, free: 10.86 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.hys.y,pumCon.hys.y,$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 (161): * Single equations (assignments): 160 * 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.0008673/1.125, allocations: 388.1 kB / 1.199 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/1.125, allocations: 126.4 kB / 1.199 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005697/1.131, allocations: 2.241 MB / 1.201 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/1.131, allocations: 20 kB / 1.201 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.131, allocations: 0 / 1.201 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/1.131, allocations: 11.92 kB / 1.201 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/1.133, allocations: 1.78 MB / 1.203 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.133, allocations: 0 / 1.203 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/1.135, allocations: 319.5 kB / 1.203 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004863/1.135, allocations: 84.77 kB / 1.204 GB, free: 5.816 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/1.136, allocations: 51.95 kB / 1.204 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/1.137, allocations: 1.548 MB / 1.205 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.137, allocations: 3.938 kB / 1.205 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004871/1.142, allocations: 1.925 MB / 1.207 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000847/1.143, allocations: 466.7 kB / 1.207 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002948/1.143, allocations: 35.98 kB / 1.207 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/1.145, allocations: 167.8 kB / 1.208 GB, free: 1.453 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002543/1.145, allocations: 117.1 kB / 1.208 GB, free: 1.34 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.145, allocations: 67.88 kB / 1.208 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001116/1.147, allocations: 0.6305 MB / 1.208 GB, free: 0.6328 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.81e-07/1.147, allocations: 8 kB / 1.208 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001533/1.148, allocations: 0.4907 MB / 1.209 GB, free: 136 kB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,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 (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001556/1.15, allocations: 0.6197 MB / 1.21 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004672/1.154, allocations: 1.833 MB / 1.211 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/1.154, allocations: 4 kB / 1.211 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002358/1.157, allocations: 1.056 MB / 1.212 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.158, allocations: 312.9 kB / 1.213 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007718/1.166, allocations: 3.845 MB / 1.216 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.167, allocations: 1.257 MB / 1.218 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009804/1.168, allocations: 187.3 kB / 1.218 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of SimCode: time 1.262e-06/1.168, allocations: 0 / 1.218 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of Templates: time 0.04871/1.217, allocations: 31.79 MB / 1.249 GB, free: 7.391 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile make -j1 -f Buildings_latest_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 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.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpControllerCalcHelperMain.o] Error 1