Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Occupants.Office.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occ.occ",fileNamePrefix="Buildings_9_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_9_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.000855/0.0008546, allocations: 99.59 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.001124/0.001124, allocations: 174 kB / 16.58 MB, free: 6.422 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.485/1.485, allocations: 223.2 MB / 240.6 MB, free: 5.434 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.428/2.428, allocations: 390.5 MB / 0.6662 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 11.94 kB / 0.8154 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8603/0.8607, allocations: 142.3 MB / 0.9544 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001489/0.8622, allocations: 1.04 MB / 0.9554 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007613/0.863, allocations: 334.7 kB / 0.9557 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.677e-05/0.8631, allocations: 0 / 0.9557 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.842e-05/0.8632, allocations: 0 / 0.9557 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.8632, allocations: 5.438 kB / 0.9557 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003953/0.8636, allocations: 69.77 kB / 0.9558 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.327e-05/0.8637, allocations: 43.48 kB / 0.9559 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.964e-05/0.8638, allocations: 2.156 kB / 0.9559 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.8638, allocations: 23.42 kB / 0.9559 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.159e-05/0.8639, allocations: 18.36 kB / 0.9559 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.8639, allocations: 2.562 kB / 0.9559 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.864, allocations: 65.27 kB / 0.956 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.8641, allocations: 23.33 kB / 0.956 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.8642, allocations: 47.02 kB / 0.956 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.8644, allocations: 118.4 kB / 0.9561 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.8644, allocations: 0 / 0.9561 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.186e-06/0.8644, allocations: 1.375 kB / 0.9561 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8644, allocations: 0 / 0.9561 GB, free: 6.863 MB / 0.7169 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.00051/0.8649, allocations: 0.506 MB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.865, allocations: 9.625 kB / 0.9566 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.8651, allocations: 20.02 kB / 0.9567 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.8652, allocations: 178.7 kB / 0.9568 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.8653, allocations: 1 kB / 0.9568 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.8653, allocations: 7.938 kB / 0.9568 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003129/0.8656, allocations: 241.5 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.8656, allocations: 0 / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.8656, allocations: 1.406 kB / 0.9571 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8656, allocations: 4 kB / 0.9571 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001862/0.8658, allocations: 148.3 kB / 0.9572 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001683/0.866, allocations: 193.7 kB / 0.9574 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.8664, allocations: 0.5302 MB / 0.9579 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004111/0.8669, allocations: 0.5232 MB / 0.9584 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.657e-06/0.8669, allocations: 0 / 0.9584 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004826/0.8674, allocations: 403.4 kB / 0.9588 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=39): time 1.253e-06/0.8674, allocations: 0 / 0.9588 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=39): time 0.0008349/0.8682, allocations: 0.6806 MB / 0.9595 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.8683, allocations: 108.3 kB / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.474e-05/0.8684, allocations: 105.9 kB / 0.9597 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.8684, allocations: 31.08 kB / 0.9597 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.8684, allocations: 80.8 kB / 0.9598 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.309e-05/0.8685, allocations: 77.97 kB / 0.9599 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.8685, allocations: 1.344 kB / 0.9599 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.8686, allocations: 326.9 kB / 0.9602 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.8687, allocations: 84.5 kB / 0.9603 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.8688, allocations: 82.56 kB / 0.9603 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.8689, allocations: 173.8 kB / 0.9605 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.869, allocations: 0 / 0.9605 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004048/0.8694, allocations: 332.5 kB / 0.9608 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.69e-05/0.8695, allocations: 79.06 kB / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.8695, allocations: 0 / 0.9609 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.8695, allocations: 4.984 kB / 0.9609 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.8696, allocations: 5.25 kB / 0.9609 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.8696, allocations: 1.094 kB / 0.9609 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.8697, allocations: 21.47 kB / 0.9609 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.8698, allocations: 14.17 kB / 0.9609 GB, free: 3.277 MB / 0.7169 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.0002763/0.87, allocations: 261 kB / 0.9612 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.8701, allocations: 22.12 kB / 0.9612 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.839e-05/0.8701, allocations: 14.03 kB / 0.9612 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.8701, allocations: 0 / 0.9612 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.8701, allocations: 0.75 kB / 0.9612 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.8701, allocations: 7.984 kB / 0.9612 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.8703, allocations: 257.3 kB / 0.9615 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.8703, allocations: 0 / 0.9615 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-07/0.8703, allocations: 0 / 0.9615 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.8704, allocations: 1.125 kB / 0.9615 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.8704, allocations: 8.25 kB / 0.9615 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.8704, allocations: 4.906 kB / 0.9615 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.8704, allocations: 0 / 0.9615 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001483/0.8719, allocations: 1.282 MB / 0.9627 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.8719, allocations: 96.23 kB / 0.9628 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.8721, allocations: 76.34 kB / 0.9629 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.739e-05/0.8721, allocations: 7.438 kB / 0.9629 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.8722, allocations: 11.84 kB / 0.9629 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.603e-05/0.8722, allocations: 12.67 kB / 0.9629 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.134e-05/0.8723, allocations: 81.62 kB / 0.963 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8723, allocations: 0 / 0.963 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003496/0.8726, allocations: 67.62 kB / 0.9631 GB, free: 1.949 MB / 0.7169 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.0005154/0.8732, allocations: 244.6 kB / 0.9633 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001791/0.875, allocations: 1.964 MB / 0.9652 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.875, allocations: 0 / 0.9652 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00188/0.8769, allocations: 2.014 MB / 0.9672 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.8772, allocations: 31.92 kB / 0.9672 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.8778, allocations: 374.6 kB / 0.9676 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.8782, allocations: 0.7245 MB / 0.9683 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.8782, allocations: 7.438 kB / 0.9683 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of SimCode: time 1.252e-06/0.8782, allocations: 1.031 kB / 0.9683 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of Templates: time 0.005538/0.8838, allocations: 2.427 MB / 0.9707 GB, free: 13.07 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.makefile make -j1 -f Buildings_9_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_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Occupancy.Validation.Wang2005OccupancyCalcHelperMain.o] Error 1