Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bou1.ports.1..p|bou2.ports.1..p|bouFix.ports.1..p|ori1.m_flow|ori2.m_flow|ori1.dp|ori2.dp",fileNamePrefix="Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008812/0.0008815, allocations: 99.12 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.001011/0.001011, allocations: 177.3 kB / 16.58 MB, free: 6.879 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.558/1.558, allocations: 223.2 MB / 240.6 MB, free: 5.422 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.606/2.606, allocations: 390.4 MB / 0.6662 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003748/0.0003748, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8999/0.9003, allocations: 142.3 MB / 0.9544 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2076/1.108, allocations: 159.1 MB / 1.11 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02043/1.128, allocations: 14.39 MB / 1.124 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/1.13, allocations: 27.81 kB / 1.124 GB, free: 2.125 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/1.132, allocations: 405.2 kB / 1.124 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004182/1.136, allocations: 1.177 MB / 1.125 GB, free: 0.5469 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00428/1.14, allocations: 1.237 MB / 1.127 GB, free: 15.32 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005618/1.146, allocations: 2.789 MB / 1.129 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/1.148, allocations: 1.4 MB / 1.131 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002375/1.151, allocations: 1.004 MB / 1.132 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/1.152, allocations: 0.8141 MB / 1.133 GB, free: 9.266 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/1.152, allocations: 48 kB / 1.133 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/1.155, allocations: 0.8345 MB / 1.133 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004335/1.155, allocations: 394.4 kB / 1.134 GB, free: 7.996 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006032/1.156, allocations: 344.7 kB / 1.134 GB, free: 7.652 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/1.159, allocations: 2.12 MB / 1.136 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.159, allocations: 0 / 1.136 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.144e-06/1.159, allocations: 4 kB / 1.136 GB, free: 5.523 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.914e-05/1.159, allocations: 0 / 1.136 GB, free: 5.523 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.003902/1.163, allocations: 1.917 MB / 1.138 GB, free: 3.543 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/1.163, allocations: 8.031 kB / 1.138 GB, free: 3.535 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/1.166, allocations: 469.2 kB / 1.138 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/1.168, allocations: 1.063 MB / 1.14 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/1.168, allocations: 127.2 kB / 1.14 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002138/1.168, allocations: 156 kB / 1.14 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003233/1.171, allocations: 1.772 MB / 1.142 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/1.171, allocations: 0 / 1.142 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/1.171, allocations: 75.98 kB / 1.142 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.625e-05/1.171, allocations: 48 kB / 1.142 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/1.174, allocations: 1.764 MB / 1.143 GB, free: 13.95 MB / 0.9044 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.008919/1.183, allocations: 5.892 MB / 1.149 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/1.186, allocations: 1.556 MB / 1.151 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001023/1.187, allocations: 0.566 MB / 1.151 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009696/1.188, allocations: 0.8828 MB / 1.152 GB, free: 4.516 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/1.19, allocations: 0.8165 MB / 1.153 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=126): time 4.248e-06/1.19, allocations: 0 / 1.153 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of matching and sorting (n=126): time 0.004613/1.194, allocations: 1.883 MB / 1.155 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/1.194, allocations: 200.9 kB / 1.155 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/1.196, allocations: 0.9716 MB / 1.156 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/1.196, allocations: 65.64 kB / 1.156 GB, free: 484 kB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006266/1.197, allocations: 0.6528 MB / 1.157 GB, free: 15.81 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/1.197, allocations: 421.9 kB / 1.157 GB, free: 15.39 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.976e-05/1.197, allocations: 24 kB / 1.157 GB, free: 15.37 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001712/1.197, allocations: 353.9 kB / 1.157 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008992/1.198, allocations: 446.4 kB / 1.158 GB, free: 14.58 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/1.199, allocations: 0.5981 MB / 1.158 GB, free: 13.95 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009778/1.2, allocations: 0.5022 MB / 1.159 GB, free: 13.44 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.2, allocations: 11.92 kB / 1.159 GB, free: 13.43 MB / 0.92 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002913/1.203, allocations: 1.347 MB / 1.16 GB, free: 12.07 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/1.203, allocations: 8 kB / 1.16 GB, free: 12.06 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/1.203, allocations: 0 / 1.16 GB, free: 12.06 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005367/1.204, allocations: 84.94 kB / 1.16 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.205, allocations: 299.6 kB / 1.16 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/1.207, allocations: 1.531 MB / 1.162 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/1.208, allocations: 180.7 kB / 1.162 GB, free: 9.84 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.209, allocations: 47.97 kB / 1.162 GB, free: 9.793 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * 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.0008283/1.209, allocations: 383 kB / 1.163 GB, free: 9.41 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/1.21, allocations: 142.3 kB / 1.163 GB, free: 9.27 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/1.213, allocations: 1.617 MB / 1.164 GB, free: 7.637 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/1.213, allocations: 12 kB / 1.164 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.213, allocations: 0 / 1.164 GB, free: 7.625 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/1.213, allocations: 12.06 kB / 1.164 GB, free: 7.613 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005378/1.219, allocations: 3.165 MB / 1.167 GB, free: 4.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.219, allocations: 0 / 1.167 GB, free: 4.391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/1.22, allocations: 267.7 kB / 1.168 GB, free: 4.129 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/1.22, allocations: 92.7 kB / 1.168 GB, free: 4.035 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.693e-05/1.22, allocations: 31.97 kB / 1.168 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/1.222, allocations: 1.567 MB / 1.169 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.222, allocations: 0 / 1.169 GB, free: 2.297 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004182/1.227, allocations: 2.18 MB / 1.171 GB, free: 100 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008841/1.227, allocations: 414.8 kB / 1.172 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/1.228, allocations: 24 kB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.229, allocations: 131.9 kB / 1.172 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/1.229, allocations: 97.17 kB / 1.172 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.229, allocations: 59.95 kB / 1.172 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001063/1.23, allocations: 0.6722 MB / 1.173 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/1.23, allocations: 0 / 1.173 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001744/1.232, allocations: 0.5259 MB / 1.173 GB, free: 14.16 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * 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.00195/1.234, allocations: 0.7008 MB / 1.174 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002667/1.237, allocations: 1.279 MB / 1.175 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.237, allocations: 4.438 kB / 1.175 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001316/1.238, allocations: 0.7635 MB / 1.176 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002284/1.24, allocations: 0.5121 MB / 1.176 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00668/1.247, allocations: 3.778 MB / 1.18 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000929/1.248, allocations: 1.303 MB / 1.181 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006143/1.248, allocations: 179.3 kB / 1.182 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of SimCode: time 1.273e-06/1.248, allocations: 0 / 1.182 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of Templates: time 0.05046/1.299, allocations: 31.38 MB / 1.212 GB, free: 6.492 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.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.Sources.Examples.Outside_CpCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Sources.Examples.Outside_CpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Sources.Examples.Outside_CpCalcHelperMain.o] Error 1