Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zon.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007559/0.0007561, allocations: 99.59 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.0009394/0.0009395, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.55/1.55, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.657/2.657, allocations: 436.7 MB / 0.7113 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 15.98 kB / 0.8717 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8849/0.8853, allocations: 153.7 MB / 1.022 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3): time 0.189/1.074, allocations: 150.3 MB / 1.168 GB, free: 10.44 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0145/1.089, allocations: 7.205 MB / 1.176 GB, free: 3.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/1.092, allocations: 27.88 kB / 1.176 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002006/1.094, allocations: 266.1 kB / 1.176 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005666/1.1, allocations: 0.9893 MB / 1.177 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/1.103, allocations: 0.847 MB / 1.178 GB, free: 1.098 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003693/1.107, allocations: 2.192 MB / 1.18 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/1.109, allocations: 0.8889 MB / 1.181 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/1.11, allocations: 0.6028 MB / 1.181 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/1.111, allocations: 0.6143 MB / 1.182 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001176/1.111, allocations: 40 kB / 1.182 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/1.114, allocations: 0.6434 MB / 1.182 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003807/1.114, allocations: 290.8 kB / 1.183 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004519/1.114, allocations: 280.9 kB / 1.183 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/1.117, allocations: 1.668 MB / 1.185 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.117, allocations: 0 / 1.185 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.555e-06/1.117, allocations: 0 / 1.185 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.882e-05/1.117, allocations: 0 / 1.185 GB, free: 9.84 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.003386/1.12, allocations: 1.595 MB / 1.186 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.121, allocations: 15.98 kB / 1.186 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/1.122, allocations: 337.8 kB / 1.187 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001616/1.124, allocations: 0.9413 MB / 1.187 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/1.124, allocations: 86.19 kB / 1.188 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/1.124, allocations: 104 kB / 1.188 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/1.126, allocations: 1.168 MB / 1.189 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.579e-05/1.126, allocations: 0 / 1.189 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.126, allocations: 51.95 kB / 1.189 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.225e-05/1.127, allocations: 42.06 kB / 1.189 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002132/1.129, allocations: 1.316 MB / 1.19 GB, free: 4.008 MB / 0.9356 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.005997/1.135, allocations: 3.707 MB / 1.194 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/1.137, allocations: 0.9858 MB / 1.195 GB, free: 15.13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006484/1.137, allocations: 403.7 kB / 1.195 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/1.137, allocations: 32.95 kB / 1.195 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/1.138, allocations: 0.5904 MB / 1.196 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=102): time 3.737e-06/1.138, allocations: 0 / 1.196 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=102): time 0.00341/1.142, allocations: 1.438 MB / 1.197 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/1.142, allocations: 196.9 kB / 1.197 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/1.143, allocations: 0.8258 MB / 1.198 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.664e-05/1.143, allocations: 45.7 kB / 1.198 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/1.144, allocations: 0.5237 MB / 1.199 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/1.144, allocations: 343 kB / 1.199 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/1.144, allocations: 20 kB / 1.199 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001521/1.144, allocations: 349.9 kB / 1.199 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/1.145, allocations: 333.8 kB / 1.2 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007244/1.146, allocations: 476.2 kB / 1.2 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007227/1.146, allocations: 394.8 kB / 1.2 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.146, allocations: 0 / 1.2 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002257/1.149, allocations: 1.075 MB / 1.202 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/1.149, allocations: 5.406 kB / 1.202 GB, free: 7.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.149, allocations: 4 kB / 1.202 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000545/1.149, allocations: 88.98 kB / 1.202 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/1.15, allocations: 215.7 kB / 1.202 GB, free: 7.652 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/1.152, allocations: 1.524 MB / 1.203 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.154, allocations: 135.2 kB / 1.203 GB, free: 5.855 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.422e-05/1.154, allocations: 43.97 kB / 1.204 GB, free: 5.812 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (124): * Single equations (assignments): 123 * 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.0007098/1.154, allocations: 315.4 kB / 1.204 GB, free: 5.492 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/1.155, allocations: 114.6 kB / 1.204 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002624/1.157, allocations: 1.268 MB / 1.205 GB, free: 4.105 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.157, allocations: 12 kB / 1.205 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.157, allocations: 0 / 1.205 GB, free: 4.094 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/1.157, allocations: 3.984 kB / 1.205 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/1.159, allocations: 1.157 MB / 1.206 GB, free: 2.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/1.159, allocations: 7.891 kB / 1.206 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008713/1.16, allocations: 211.7 kB / 1.207 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/1.16, allocations: 84.77 kB / 1.207 GB, free: 2.578 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/1.16, allocations: 31.98 kB / 1.207 GB, free: 2.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001754/1.162, allocations: 1.54 MB / 1.208 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.162, allocations: 0 / 1.208 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002937/1.165, allocations: 1.586 MB / 1.21 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005997/1.166, allocations: 331.5 kB / 1.21 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.166, allocations: 24 kB / 1.21 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007715/1.167, allocations: 87.92 kB / 1.21 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001855/1.167, allocations: 88.86 kB / 1.21 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-05/1.167, allocations: 43.97 kB / 1.21 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009005/1.168, allocations: 0.5702 MB / 1.211 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.168, allocations: 4 kB / 1.211 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001296/1.169, allocations: 422.9 kB / 1.211 GB, free: 13.68 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (walCap.T,zon.dynBal.medium.Xi[1],zon.dynBal.U,zon.dynBal.m) * 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 (113): * Single equations (assignments): 107 * 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.001566/1.171, allocations: 0.6168 MB / 1.212 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002047/1.173, allocations: 0.9995 MB / 1.213 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.902e-06/1.173, allocations: 4 kB / 1.213 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/1.174, allocations: 0.5977 MB / 1.213 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/1.176, allocations: 446.5 kB / 1.214 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005629/1.181, allocations: 3.251 MB / 1.217 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008378/1.182, allocations: 1.154 MB / 1.218 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/1.183, allocations: 131.4 kB / 1.218 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of SimCode: time 1.303e-06/1.183, allocations: 0 / 1.218 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.03883/1.222, allocations: 24.32 MB / 1.242 GB, free: 14.36 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.makefile make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3.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.Examples.Tutorial.SimpleHouse.SimpleHouse3CalcHelperMain.o OMCppBuildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse3CalcHelperMain.o] Error 1