Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") translateModel(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000879/0.000879, allocations: 101.4 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.001164/0.001164, allocations: 176.3 kB / 16.58 MB, free: 6.047 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.538/1.538, allocations: 223.3 MB / 240.6 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.000443, allocations: 12 kB / 0.8717 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.844/0.8445, allocations: 153.6 MB / 1.022 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001559/0.8461, allocations: 1.055 MB / 1.023 GB, free: 88 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007964/0.8469, allocations: 331.2 kB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.199e-05/0.847, allocations: 0 / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.09e-05/0.8471, allocations: 3.938 kB / 1.023 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.943e-05/0.8471, allocations: 3.984 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.8475, allocations: 67.86 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.8476, allocations: 43.84 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.8476, allocations: 4 kB / 1.023 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.8477, allocations: 15.97 kB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.042e-05/0.8477, allocations: 19.92 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.064e-05/0.8477, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.8479, allocations: 71.92 kB / 1.023 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.16e-05/0.8479, allocations: 27.92 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.077e-05/0.848, allocations: 41.64 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001812/0.8482, allocations: 119.7 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.8482, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8482, allocations: 0 / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.8482, allocations: 4 kB / 1.023 GB, free: 15.34 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005509/0.8488, allocations: 0.5042 MB / 1.024 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.8488, allocations: 11.98 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.849, allocations: 15.81 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.8491, allocations: 178.9 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.8491, allocations: 8 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.8491, allocations: 4 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.8495, allocations: 233.6 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.8495, allocations: 4 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.8495, allocations: 7.984 kB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.8495, allocations: 0 / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.8497, allocations: 148 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.8499, allocations: 185.5 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.8504, allocations: 0.5379 MB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/0.8508, allocations: 0.5207 MB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.373e-06/0.8508, allocations: 0 / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004609/0.8513, allocations: 403.6 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.423e-06/0.8513, allocations: 0 / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.0008242/0.8521, allocations: 0.6814 MB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.8522, allocations: 109.1 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.8523, allocations: 101.8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.8523, allocations: 29.7 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.8524, allocations: 80.8 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.21e-05/0.8525, allocations: 82.94 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.8525, allocations: 0 / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8526, allocations: 326.8 kB / 1.027 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.549e-05/0.8527, allocations: 83.97 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.103e-05/0.8528, allocations: 79.97 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.853, allocations: 174.9 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.853, allocations: 0 / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003627/0.8534, allocations: 340 kB / 1.028 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.282e-05/0.8535, allocations: 81.61 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8535, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.8535, allocations: 4.062 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.8535, allocations: 3.984 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8536, allocations: 4 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.8537, allocations: 23.75 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.8537, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,occ.occ,occ.mu,$PRE.occ.tNext,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0002782/0.854, allocations: 265.7 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.854, allocations: 23.81 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.12e-05/0.854, allocations: 9.172 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8541, allocations: 0 / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.8541, allocations: 4 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.8541, allocations: 192 / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.8543, allocations: 245.4 kB / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8543, allocations: 0 / 1.029 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.8543, allocations: 7.969 kB / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.8543, allocations: 0 / 1.029 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.8544, allocations: 16 kB / 1.029 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.8544, allocations: 7.938 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8544, allocations: 0 / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.8556, allocations: 1.279 MB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.8557, allocations: 92.89 kB / 1.03 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001097/0.8558, allocations: 75.95 kB / 1.03 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.261e-05/0.8559, allocations: 11.98 kB / 1.03 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.961e-05/0.8559, allocations: 7.953 kB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-05/0.856, allocations: 15.98 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.169e-05/0.856, allocations: 79.28 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.856, allocations: 3.938 kB / 1.03 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002889/0.8563, allocations: 68 kB / 1.03 GB, free: 7.859 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition1,occ.occ,occ.mu,occ.tNext,occ.hold_time,occ.r,occ.state[1],occ.state[2],occ.state[3],occ.state[4],occ.state[5],occ.state[6],occ.state[7],occ.state[8],occ.state[9],occ.state[10],occ.state[11],occ.state[12],occ.state[13],occ.state[14],occ.state[15],occ.state[16],occ.state[17],occ.state[18],occ.state[19],occ.state[20],occ.state[21],occ.state[22],occ.state[23],occ.state[24],occ.state[25],occ.state[26],occ.state[27],occ.state[28],occ.state[29],occ.state[30],occ.state[31],occ.state[32],occ.state[33]) * Number of discrete states: 39 (occ.tNext,occ.hold_time,occ.mu,occ.occ,occ.state[33],occ.state[32],occ.state[31],occ.state[30],occ.state[29],occ.state[28],occ.state[27],occ.state[26],occ.state[25],occ.state[24],occ.state[23],occ.state[22],occ.state[21],occ.state[20],occ.state[19],occ.state[18],occ.state[17],occ.state[16],occ.state[15],occ.state[14],occ.state[13],occ.state[12],occ.state[11],occ.state[10],occ.state[9],occ.state[8],occ.state[7],occ.state[6],occ.state[5],occ.state[4],occ.state[3],occ.state[2],occ.state[1],occ.r,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000462/0.8568, allocations: 248.1 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.8585, allocations: 1.964 MB / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8585, allocations: 0 / 1.033 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.8602, allocations: 2.018 MB / 1.035 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.8604, allocations: 21.67 kB / 1.035 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/0.861, allocations: 376.3 kB / 1.035 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.8613, allocations: 0.7208 MB / 1.036 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.8614, allocations: 7.438 kB / 1.036 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.8614, allocations: 4 kB / 1.036 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of Templates: time 0.004735/0.8661, allocations: 2.427 MB / 1.038 GB, free: 12 kB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile make -j1 -f Buildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.o] Error 1