Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC") translateModel(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009088/0.0009089, allocations: 98.66 kB / 15.71 MB, free: 452 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.001368/0.001368, allocations: 181.1 kB / 16.58 MB, free: 6.875 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.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.112/1.112, allocations: 143.4 MB / 435.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 8 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2203, allocations: 83.41 MB / 0.598 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC): time 0.6235/0.8439, allocations: 165 MB / 0.7592 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02316/0.8671, allocations: 11.92 MB / 0.7708 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004836/0.872, allocations: 75.62 kB / 0.7709 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00264/0.8747, allocations: 0.5076 MB / 0.7714 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007793/0.8825, allocations: 1.602 MB / 0.7729 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005827/0.8884, allocations: 1.704 MB / 0.7746 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01256/0.9009, allocations: 9.399 MB / 0.7838 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01383/0.9148, allocations: 9.057 MB / 0.7926 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006072/0.9209, allocations: 2.62 MB / 0.7952 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006387/0.9274, allocations: 3.19 MB / 0.7983 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001705/0.9291, allocations: 215.9 kB / 0.7985 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004099/0.9332, allocations: 0.9907 MB / 0.7995 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.9348, allocations: 1.314 MB / 0.8008 GB, free: 12 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002241/0.9371, allocations: 1.575 MB / 0.8023 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01714/0.9542, allocations: 16.53 MB / 0.8184 GB, free: 9.844 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/0.9543, allocations: 7.984 kB / 0.8185 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9543, allocations: 0 / 0.8185 GB, free: 9.836 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0005836/0.9549, allocations: 0 / 0.8185 GB, free: 9.836 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2288 * Number of variables: 2288 Notification: Performance of Generate backend data structure: time 0.02388/0.9788, allocations: 8.375 MB / 0.8266 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.9788, allocations: 8.031 kB / 0.8266 GB, free: 1.363 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05226/1.031, allocations: 11.5 MB / 0.8379 GB, free: 5.836 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01265/1.044, allocations: 5.36 MB / 0.8431 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006082/1.044, allocations: 0.6503 MB / 0.8437 GB, free: 15.75 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004726/1.049, allocations: 0.8553 MB / 0.8446 GB, free: 14.89 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.829/1.878, allocations: 17.85 MB / 0.862 GB, free: 181.4 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003238/1.879, allocations: 0 / 0.862 GB, free: 181.4 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004422/1.883, allocations: 361.5 kB / 0.8623 GB, free: 181.4 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003246/1.883, allocations: 309.8 kB / 0.8626 GB, free: 181.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06267/1.946, allocations: 23.01 MB / 0.8851 GB, free: 176.7 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1017/2.048, allocations: 40.36 MB / 0.9245 GB, free: 156.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0347/2.082, allocations: 12.67 MB / 0.9369 GB, free: 149.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01883/2.101, allocations: 7.437 MB / 0.9441 GB, free: 145.8 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/2.103, allocations: 0.8254 MB / 0.945 GB, free: 145 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02151/2.125, allocations: 7.891 MB / 0.9527 GB, free: 140.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=621): time 1.633e-05/2.125, allocations: 0 / 0.9527 GB, free: 140.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=623): time 0.1089/2.233, allocations: 35.31 MB / 0.9871 GB, free: 107.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/2.234, allocations: 244.8 kB / 0.9874 GB, free: 107.4 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007796/2.241, allocations: 3.914 MB / 0.9912 GB, free: 103.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.002702/2.244, allocations: 125.7 kB / 0.9913 GB, free: 103.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00303/2.247, allocations: 2.969 MB / 0.9942 GB, free: 100.3 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.004372/2.252, allocations: 2.061 MB / 0.9962 GB, free: 98.26 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/2.254, allocations: 112 kB / 0.9963 GB, free: 98.15 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0005311/2.255, allocations: 0.5178 MB / 0.9968 GB, free: 97.62 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01649/2.271, allocations: 6.404 MB / 1.003 GB, free: 91.21 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0175/2.289, allocations: 6.951 MB / 1.01 GB, free: 84.16 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zonHVAC.vol.dynBal.medium.p = zonHVAC.vol.dynBal.p_start (sin.p = zonHVAC.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 1.694/3.983, allocations: 264.8 MB / 1.268 GB, free: 118.4 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/3.983, allocations: 4 kB / 1.268 GB, free: 118.4 MB / 0.7013 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.03722/4.02, allocations: 14.36 MB / 1.282 GB, free: 104.8 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/4.02, allocations: 8 kB / 1.283 GB, free: 104.8 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/4.02, allocations: 4.562 kB / 1.283 GB, free: 104.8 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007559/4.021, allocations: 185 kB / 1.283 GB, free: 104.6 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01295/4.034, allocations: 2.311 MB / 1.285 GB, free: 102.3 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003415/4.037, allocations: 3.318 MB / 1.288 GB, free: 98.79 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01072/4.048, allocations: 1.211 MB / 1.289 GB, free: 97.58 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002669/4.051, allocations: 295.7 kB / 1.29 GB, free: 97.29 MB / 0.7013 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: zonHVAC.vol.dynBal.medium.p = zonHVAC.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,conCooPID.I.trigger_internal,conHeaPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (702): * Single equations (assignments): 700 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.009093/4.06, allocations: 2.695 MB / 1.292 GB, free: 94.59 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002948/4.063, allocations: 0.491 MB / 1.293 GB, free: 94.35 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05007/4.113, allocations: 15.83 MB / 1.308 GB, free: 78.58 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.808e-05/4.113, allocations: 60 kB / 1.308 GB, free: 78.52 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-05/4.113, allocations: 11.89 kB / 1.308 GB, free: 78.51 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03853/4.152, allocations: 13.12 MB / 1.321 GB, free: 65.29 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06905/4.221, allocations: 28.21 MB / 1.349 GB, free: 37.13 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.399e-05/4.221, allocations: 0 / 1.349 GB, free: 37.13 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01245/4.233, allocations: 2.18 MB / 1.351 GB, free: 34.95 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008241/4.234, allocations: 181.6 kB / 1.351 GB, free: 34.76 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002475/4.237, allocations: 191.8 kB / 1.351 GB, free: 34.57 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/4.24, allocations: 3.339 MB / 1.354 GB, free: 31 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/4.24, allocations: 4.062 kB / 1.354 GB, free: 30.99 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05616/4.296, allocations: 23.36 MB / 1.377 GB, free: 7.504 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006441/4.302, allocations: 2.198 MB / 1.379 GB, free: 5.297 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0035/4.306, allocations: 120 kB / 1.379 GB, free: 5.18 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01071/4.316, allocations: 1.204 MB / 1.381 GB, free: 3.977 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002099/4.319, allocations: 376.4 kB / 1.381 GB, free: 3.605 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00246/4.321, allocations: 239.8 kB / 1.381 GB, free: 3.371 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.006511/4.328, allocations: 3.006 MB / 1.384 GB, free: 368 kB / 0.7013 GB Notification: Performance of sort global known variables: time 4.91e-07/4.328, allocations: 0 / 1.384 GB, free: 368 kB / 0.7013 GB Notification: Performance of remove unused functions: time 0.5239/4.852, allocations: 1.616 MB / 1.386 GB, free: 209 MB / 0.7013 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 5 (zonHVAC.capMas.T,zonHVAC.vol.dynBal.medium.Xi[1],zonHVAC.vol.dynBal.U,conHeaPID.I.y,conCooPID.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (646): * Single equations (assignments): 642 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004191/4.856, allocations: 0.8111 MB / 1.387 GB, free: 208.8 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.03716/4.893, allocations: 14.31 MB / 1.401 GB, free: 207 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/4.893, allocations: 6 kB / 1.401 GB, free: 207 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.01974/4.913, allocations: 7.47 MB / 1.408 GB, free: 204.4 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/4.923, allocations: 0.9841 MB / 1.409 GB, free: 204.1 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05008/4.973, allocations: 23.2 MB / 1.431 GB, free: 192.8 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0076/4.981, allocations: 5.266 MB / 1.437 GB, free: 190.9 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007367/4.988, allocations: 0.7562 MB / 1.437 GB, free: 190.8 MB / 0.7013 GB Notification: Performance of SimCode: time 1.844e-06/4.988, allocations: 0 / 1.437 GB, free: 190.8 MB / 0.7013 GB Notification: Performance of Templates: time 0.2846/5.273, allocations: 220.2 MB / 1.652 GB, free: 8.195 MB / 0.7169 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVAC.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVACCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVACCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.ThermalZones.ISO13790.Examples.HeatingCoolingHVACCalcHelperMain.o] Error 1