Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") translateModel(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|walCap.T",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007356/0.0007357, 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.0009485/0.0009485, 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.442/1.442, 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.825/2.825, allocations: 436.7 MB / 0.7113 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003752, allocations: 8 kB / 0.8717 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8084, allocations: 153.7 MB / 1.022 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2): time 0.005141/0.8136, allocations: 4.095 MB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1748/0.9884, allocations: 136.8 MB / 1.159 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007925/0.9893, allocations: 19.94 kB / 1.159 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005243/0.9898, allocations: 134.9 kB / 1.159 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.9911, allocations: 447.9 kB / 1.16 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.9928, allocations: 0.6325 MB / 1.16 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00124/0.994, allocations: 1.183 MB / 1.162 GB, free: 1.461 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007549/0.9948, allocations: 0.4958 MB / 1.162 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005219/0.9953, allocations: 342.4 kB / 1.162 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000473/0.9958, allocations: 379.6 kB / 1.163 GB, free: 248 kB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.287e-05/0.9959, allocations: 32 kB / 1.163 GB, free: 216 kB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007808/0.9967, allocations: 339.6 kB / 1.163 GB, free: 15.88 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.9969, allocations: 187.2 kB / 1.163 GB, free: 15.7 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.9971, allocations: 205.1 kB / 1.164 GB, free: 15.49 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.9983, allocations: 1.196 MB / 1.165 GB, free: 14.29 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.9983, allocations: 4 kB / 1.165 GB, free: 14.29 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9983, allocations: 0 / 1.165 GB, free: 14.29 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.9984, allocations: 0 / 1.165 GB, free: 14.29 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002464/1.001, allocations: 1.279 MB / 1.166 GB, free: 12.96 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.621e-05/1.001, allocations: 11.98 kB / 1.166 GB, free: 12.95 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009588/1.002, allocations: 198.4 kB / 1.166 GB, free: 12.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/1.003, allocations: 0.735 MB / 1.167 GB, free: 11.97 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.415e-05/1.003, allocations: 69.94 kB / 1.167 GB, free: 11.9 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/1.004, allocations: 83.91 kB / 1.167 GB, free: 11.82 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001924/1.005, allocations: 0.9535 MB / 1.168 GB, free: 10.83 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/1.005, allocations: 0 / 1.168 GB, free: 10.83 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.07e-05/1.006, allocations: 36 kB / 1.168 GB, free: 10.79 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/1.006, allocations: 24 kB / 1.168 GB, free: 10.77 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/1.008, allocations: 1.136 MB / 1.169 GB, free: 9.633 MB / 0.92 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.004324/1.012, allocations: 2.683 MB / 1.172 GB, free: 6.863 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/1.013, allocations: 0.847 MB / 1.173 GB, free: 6.02 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/1.014, allocations: 318.7 kB / 1.173 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.319e-05/1.014, allocations: 36.66 kB / 1.173 GB, free: 5.668 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000953/1.015, allocations: 0.5081 MB / 1.173 GB, free: 5.145 MB / 0.92 GB Notification: Performance of pre-optimization done (n=85): time 2.975e-06/1.015, allocations: 0 / 1.173 GB, free: 5.145 MB / 0.92 GB Notification: Performance of matching and sorting (n=85): time 0.002981/1.018, allocations: 1.247 MB / 1.175 GB, free: 3.871 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/1.018, allocations: 188.9 kB / 1.175 GB, free: 3.641 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000884/1.019, allocations: 0.6451 MB / 1.175 GB, free: 2.984 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/1.019, allocations: 41.7 kB / 1.175 GB, free: 2.938 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/1.02, allocations: 412.4 kB / 1.176 GB, free: 2.527 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002561/1.02, allocations: 280 kB / 1.176 GB, free: 2.25 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/1.02, allocations: 16 kB / 1.176 GB, free: 2.234 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002284/1.02, allocations: 390.8 kB / 1.177 GB, free: 1.844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/1.021, allocations: 273.8 kB / 1.177 GB, free: 1.578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006355/1.021, allocations: 375.1 kB / 1.177 GB, free: 1.199 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005842/1.022, allocations: 314.9 kB / 1.177 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.022, allocations: 4 kB / 1.177 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001836/1.024, allocations: 0.8877 MB / 1.178 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.024, allocations: 8 kB / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/1.024, allocations: 0 / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/1.024, allocations: 80.88 kB / 1.178 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/1.025, allocations: 175.7 kB / 1.179 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/1.027, allocations: 1.521 MB / 1.18 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006733/1.028, allocations: 107.4 kB / 1.18 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/1.028, allocations: 35.98 kB / 1.18 GB, free: 13.93 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 (100): * Single equations (assignments): 99 * 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.0004335/1.028, allocations: 283.5 kB / 1.18 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/1.028, allocations: 82.97 kB / 1.181 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/1.031, allocations: 1.101 MB / 1.182 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/1.031, allocations: 19.94 kB / 1.182 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.031, allocations: 3.953 kB / 1.182 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.689e-06/1.031, allocations: 7.922 kB / 1.182 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001103/1.032, allocations: 0.9191 MB / 1.183 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.032, allocations: 4 kB / 1.183 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/1.032, allocations: 155.8 kB / 1.183 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/1.033, allocations: 84.78 kB / 1.183 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/1.033, allocations: 27.97 kB / 1.183 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00169/1.035, allocations: 1.552 MB / 1.184 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.035, allocations: 0 / 1.184 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002615/1.037, allocations: 1.367 MB / 1.186 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/1.038, allocations: 299.5 kB / 1.186 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/1.038, allocations: 20 kB / 1.186 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/1.038, allocations: 79.98 kB / 1.186 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.039, allocations: 76.89 kB / 1.186 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.098e-05/1.039, allocations: 31.98 kB / 1.186 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005828/1.039, allocations: 471 kB / 1.187 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.039, allocations: 0 / 1.187 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008729/1.04, allocations: 319.2 kB / 1.187 GB, free: 6.801 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (walCap.T) * 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 (96): * Single equations (assignments): 90 * 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.001352/1.042, allocations: 0.6049 MB / 1.187 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001718/1.043, allocations: 0.8626 MB / 1.188 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.043, allocations: 0 / 1.188 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009152/1.044, allocations: 0.5236 MB / 1.189 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/1.045, allocations: 260.1 kB / 1.189 GB, free: 4.715 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/1.05, allocations: 2.477 MB / 1.191 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009377/1.051, allocations: 1.043 MB / 1.193 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/1.052, allocations: 115.4 kB / 1.193 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of SimCode: time 2.565e-06/1.052, allocations: 0 / 1.193 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of Templates: time 0.02813/1.08, allocations: 18.85 MB / 1.211 GB, free: 14.22 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.makefile make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2.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.SimpleHouse2CalcHelperMain.o OMCppBuildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Examples.Tutorial.SimpleHouse.SimpleHouse2CalcHelperMain.o] Error 1