Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.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.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") translateModel(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario,tolerance=1e-06,outputFormat="empty",numberOfIntervals=105120,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009142/0.0009143, 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.001269/0.001269, allocations: 176.8 kB / 16.58 MB, free: 6.863 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.519/1.519, 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/BuildSysPro 3.5.0-master/package.mo): time 1.146/1.146, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004358, allocations: 8 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2143, allocations: 83.41 MB / 0.598 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario): time 0.003583/0.2179, allocations: 2.557 MB / 0.6005 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002862/0.2208, allocations: 1.838 MB / 0.6023 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002115/0.221, allocations: 11.94 kB / 0.6023 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.2213, allocations: 63.5 kB / 0.6024 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.2217, allocations: 135.3 kB / 0.6025 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006459/0.2224, allocations: 282 kB / 0.6028 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005586/0.223, allocations: 0.5272 MB / 0.6033 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003669/0.2233, allocations: 216 kB / 0.6035 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.2235, allocations: 151 kB / 0.6037 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003561/0.2239, allocations: 190.9 kB / 0.6039 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.2239, allocations: 12 kB / 0.6039 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.2241, allocations: 51.98 kB / 0.6039 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2242, allocations: 91.55 kB / 0.604 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.2243, allocations: 113.4 kB / 0.6041 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.2248, allocations: 0.5264 MB / 0.6046 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2249, allocations: 3.938 kB / 0.6046 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.886e-06/0.2249, allocations: 0 / 0.6046 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.2249, allocations: 0 / 0.6046 GB, free: 1.055 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001091/0.226, allocations: 0.775 MB / 0.6054 GB, free: 232 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.226, allocations: 12.03 kB / 0.6054 GB, free: 220 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/0.2263, allocations: 71.25 kB / 0.6055 GB, free: 148 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.469/0.6954, allocations: 437.8 kB / 0.6059 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.936e-05/0.6955, allocations: 29.97 kB / 0.6059 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.934e-05/0.6956, allocations: 33.94 kB / 0.6059 GB, free: 40.69 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007656/0.6963, allocations: 424.7 kB / 0.6063 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.6964, allocations: 0 / 0.6063 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.593e-05/0.6964, allocations: 13.97 kB / 0.6064 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.6964, allocations: 10.78 kB / 0.6064 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005131/0.6969, allocations: 314.2 kB / 0.6067 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.6987, allocations: 1.23 MB / 0.6079 GB, free: 40.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.6992, allocations: 335.6 kB / 0.6082 GB, free: 40.17 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.6994, allocations: 116.8 kB / 0.6083 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.385e-05/0.6994, allocations: 9.953 kB / 0.6083 GB, free: 40.15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.6995, allocations: 40.58 kB / 0.6084 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.505e-06/0.6995, allocations: 1.312 kB / 0.6084 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.0007526/0.7002, allocations: 404.1 kB / 0.6087 GB, free: 40.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/0.7003, allocations: 186.5 kB / 0.6089 GB, free: 39.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006745/0.701, allocations: 0.5533 MB / 0.6095 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.701, allocations: 33.42 kB / 0.6095 GB, free: 39.67 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.7012, allocations: 262.2 kB / 0.6097 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.975e-05/0.7013, allocations: 110.8 kB / 0.6098 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.7013, allocations: 6.406 kB / 0.6098 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7014, allocations: 363.4 kB / 0.6102 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.7016, allocations: 101.9 kB / 0.6103 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001926/0.7018, allocations: 161.8 kB / 0.6104 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.702, allocations: 103.2 kB / 0.6105 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.702, allocations: 2.078 kB / 0.6105 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004585/0.7025, allocations: 326.1 kB / 0.6109 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.7025, allocations: 5.938 kB / 0.6109 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.7025, allocations: 0.5469 kB / 0.6109 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.7025, allocations: 3.031 kB / 0.6109 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.7028, allocations: 53.39 kB / 0.6109 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.7028, allocations: 10.83 kB / 0.6109 GB, free: 39.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.703, allocations: 48.81 kB / 0.611 GB, free: 39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.703, allocations: 8.625 kB / 0.611 GB, free: 39 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: scenarioRT.ConsoECS:VARIABLE(flow=false fixed = true ) "Hot water consumption at 40°C [L]" type: Real scenarioAutre.Conso:VARIABLE(flow=false fixed = true ) "Consumption en L" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003287/0.7033, allocations: 200.6 kB / 0.6112 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.395e-05/0.7034, allocations: 52.41 kB / 0.6112 GB, free: 38.86 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006072/0.704, allocations: 355.9 kB / 0.6116 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.7041, allocations: 3.031 kB / 0.6116 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7041, allocations: 0.5 kB / 0.6116 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.7041, allocations: 8.172 kB / 0.6116 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.7046, allocations: 0.5093 MB / 0.6121 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7047, allocations: 8.469 kB / 0.6121 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.7049, allocations: 54.62 kB / 0.6121 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.7049, allocations: 2.812 kB / 0.6121 GB, free: 38.6 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.7049, allocations: 13.41 kB / 0.6121 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.7049, allocations: 0 / 0.6121 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7049, allocations: 3.062 kB / 0.6122 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.7058, allocations: 0.6172 MB / 0.6128 GB, free: 38.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.7059, allocations: 154.6 kB / 0.6129 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.706, allocations: 7.562 kB / 0.6129 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.7062, allocations: 22.09 kB / 0.6129 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.7063, allocations: 29.86 kB / 0.613 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.7063, allocations: 11.75 kB / 0.613 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000528/0.7068, allocations: 406.3 kB / 0.6134 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7069, allocations: 0 / 0.6134 GB, free: 38.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004253/0.7073, allocations: 103 kB / 0.6135 GB, free: 38.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (scenarioRT.ConsoECS,scenarioAutre.Conso) * Number of discrete variables: 5 (scenarioRT.greaterThreshold.y,scenarioRT.greaterThreshold1.y,scenarioRT.greaterThreshold2.y,scenarioRT.greaterThreshold3.y,scenarioRT.booleanToReal.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009602/0.7083, allocations: 413.7 kB / 0.6138 GB, free: 37.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004365/0.7087, allocations: 249 kB / 0.6141 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7087, allocations: 2.844 kB / 0.6141 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002024/0.7089, allocations: 137.4 kB / 0.6142 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005793/0.7095, allocations: 82.73 kB / 0.6143 GB, free: 37.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.7109, allocations: 1.045 MB / 0.6153 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.7113, allocations: 0.8603 MB / 0.6162 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.7114, allocations: 57.48 kB / 0.6162 GB, free: 36.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.072e-06/0.7114, allocations: 3.938 kB / 0.6162 GB, free: 36.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.01055/0.722, allocations: 6.774 MB / 0.6228 GB, free: 36.01 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.makefile make -j1 -f BuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenario.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.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenarioCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenarioCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.BoundaryConditions.Scenarios.Examples.ComparisonDHWScenarioCalcHelperMain.o] Error 1