Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000991/0.0009911, allocations: 98.88 kB / 16.02 MB, free: 76 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.001736/0.001736, allocations: 184.4 kB / 16.92 MB, free: 6.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 223.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.7 MB / 0.5509 GB, free: 14.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005781/0.0005782, allocations: 14.53 kB / 0.675 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3424, allocations: 116.3 MB / 0.7885 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 1.011/1.353, allocations: 189 MB / 0.9731 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01132/1.365, allocations: 5.012 MB / 0.978 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/1.367, allocations: 41.09 kB / 0.9781 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/1.369, allocations: 0.7086 MB / 0.9787 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008787/1.378, allocations: 2.424 MB / 0.9811 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003524/1.382, allocations: 1.014 MB / 0.9821 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006241/1.388, allocations: 3.517 MB / 0.9855 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/1.39, allocations: 0.7937 MB / 0.9863 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/1.393, allocations: 0.9946 MB / 0.9873 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/1.394, allocations: 0.9689 MB / 0.9882 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/1.394, allocations: 45.41 kB / 0.9883 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/1.399, allocations: 2.063 MB / 0.9903 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005948/1.4, allocations: 411.7 kB / 0.9907 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0009374/1.401, allocations: 0.6358 MB / 0.9913 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002875/1.404, allocations: 1.507 MB / 0.9928 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.404, allocations: 0 / 0.9928 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.086e-06/1.404, allocations: 0 / 0.9928 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.771e-05/1.404, allocations: 0 / 0.9928 GB, free: 9.051 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005296/1.409, allocations: 1.695 MB / 0.9944 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/1.409, allocations: 9.75 kB / 0.9944 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004095/1.413, allocations: 0.7023 MB / 0.9951 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/1.415, allocations: 0.8901 MB / 0.996 GB, free: 6.809 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-05/1.415, allocations: 71.83 kB / 0.9961 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/1.415, allocations: 84.84 kB / 0.9961 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/1.419, allocations: 1.485 MB / 0.9976 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/1.419, allocations: 3.984 kB / 0.9976 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/1.419, allocations: 42.84 kB / 0.9976 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.189e-05/1.419, allocations: 48.77 kB / 0.9977 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004151/1.423, allocations: 1.533 MB / 0.9992 GB, free: 5.055 MB / 0.7325 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.008542/1.432, allocations: 5.508 MB / 1.005 GB, free: 492 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004231/1.436, allocations: 1.324 MB / 1.006 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001783/1.438, allocations: 0.6757 MB / 1.007 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/1.439, allocations: 0.5971 MB / 1.007 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/1.441, allocations: 0.7147 MB / 1.008 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 3.646e-06/1.441, allocations: 0 / 1.008 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.006219/1.447, allocations: 1.922 MB / 1.01 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/1.447, allocations: 60 kB / 1.01 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/1.449, allocations: 1.245 MB / 1.011 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.449, allocations: 42.83 kB / 1.011 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/1.449, allocations: 0.5873 MB / 1.012 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/1.45, allocations: 273 kB / 1.012 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/1.45, allocations: 81.23 kB / 1.012 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001518/1.45, allocations: 348.8 kB / 1.012 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/1.451, allocations: 0.5479 MB / 1.013 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/1.453, allocations: 0.855 MB / 1.014 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/1.457, allocations: 1.352 MB / 1.015 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/1.457, allocations: 5.125 kB / 1.015 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004351/1.462, allocations: 1.512 MB / 1.016 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.149e-05/1.462, allocations: 12.28 kB / 1.016 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.462, allocations: 8.375 kB / 1.016 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/1.462, allocations: 14.91 kB / 1.016 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.463, allocations: 301 kB / 1.017 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.243e-05/1.463, allocations: 22.06 kB / 1.017 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/1.465, allocations: 234 kB / 1.017 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.465, allocations: 51.88 kB / 1.017 GB, free: 9.133 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007317/1.466, allocations: 340 kB / 1.017 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/1.466, allocations: 137.7 kB / 1.017 GB, free: 8.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004314/1.47, allocations: 1.434 MB / 1.019 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.47, allocations: 9.781 kB / 1.019 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.131e-05/1.47, allocations: 4 kB / 1.019 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/1.47, allocations: 6.109 kB / 1.019 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006051/1.476, allocations: 2.826 MB / 1.022 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.476, allocations: 3.406 kB / 1.022 GB, free: 6.309 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/1.478, allocations: 229.3 kB / 1.022 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-05/1.478, allocations: 8.531 kB / 1.022 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.509e-05/1.478, allocations: 29.95 kB / 1.022 GB, free: 6.219 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.324e-05/1.478, allocations: 14.05 kB / 1.022 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.478, allocations: 4.594 kB / 1.022 GB, free: 6.211 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005515/1.483, allocations: 2.281 MB / 1.024 GB, free: 4.961 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/1.484, allocations: 307.6 kB / 1.024 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/1.484, allocations: 20.78 kB / 1.024 GB, free: 4.695 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/1.485, allocations: 145.6 kB / 1.025 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.485, allocations: 71.95 kB / 1.025 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.659e-05/1.485, allocations: 33.72 kB / 1.025 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001123/1.487, allocations: 0.8578 MB / 1.026 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/1.487, allocations: 0 / 1.026 GB, free: 4.137 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001092/1.488, allocations: 314.9 kB / 1.026 GB, free: 4.086 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/1.489, allocations: 0.5215 MB / 1.026 GB, free: 3.785 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003656/1.493, allocations: 1.308 MB / 1.028 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.493, allocations: 0 / 1.028 GB, free: 2.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001759/1.494, allocations: 0.6464 MB / 1.028 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.498, allocations: 0.5819 MB / 1.029 GB, free: 1.258 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/1.503, allocations: 3.145 MB / 1.032 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008561/1.504, allocations: 1.175 MB / 1.033 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004744/1.505, allocations: 127.4 kB / 1.033 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of SimCode: time 1.022e-06/1.505, allocations: 0 / 1.033 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of Templates: time 0.03554/1.54, allocations: 20.41 MB / 1.053 GB, free: 8.445 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnlyCalcHelperMain.o] Error 1