Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.00102, allocations: 100.5 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.001446/0.001446, allocations: 176 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.595/1.595, allocations: 223.3 MB / 240.6 MB, free: 5.414 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.555/2.555, allocations: 390.4 MB / 0.6662 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003669, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8595/0.8599, allocations: 142.3 MB / 0.9544 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.001773/0.8617, allocations: 1.202 MB / 0.9556 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.8629, allocations: 0.6734 MB / 0.9562 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.621e-05/0.863, allocations: 0 / 0.9562 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.21e-05/0.863, allocations: 9.266 kB / 0.9562 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.8631, allocations: 12.98 kB / 0.9563 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005017/0.8636, allocations: 96.55 kB / 0.9564 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.8637, allocations: 70.52 kB / 0.9564 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.8638, allocations: 7.875 kB / 0.9564 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.647e-05/0.8639, allocations: 25.95 kB / 0.9565 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/0.864, allocations: 38.66 kB / 0.9565 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.864, allocations: 3.719 kB / 0.9565 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.8642, allocations: 84.83 kB / 0.9566 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.8642, allocations: 14.14 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.055e-05/0.8643, allocations: 39.03 kB / 0.9566 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.8645, allocations: 95.81 kB / 0.9567 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.8645, allocations: 0 / 0.9567 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8645, allocations: 0 / 0.9567 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.8645, allocations: 0 / 0.9567 GB, free: 6.234 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000545/0.8651, allocations: 405.9 kB / 0.9571 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.8651, allocations: 12.97 kB / 0.9571 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.8652, allocations: 20.06 kB / 0.9571 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.961e-05/0.8653, allocations: 170.7 kB / 0.9573 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.8653, allocations: 2.125 kB / 0.9573 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.8653, allocations: 4.5 kB / 0.9573 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.8655, allocations: 78.3 kB / 0.9574 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8655, allocations: 0 / 0.9574 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.8655, allocations: 1.062 kB / 0.9574 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.8656, allocations: 5.125 kB / 0.9574 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.8657, allocations: 45.11 kB / 0.9574 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.8663, allocations: 330 kB / 0.9577 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.8664, allocations: 55.27 kB / 0.9578 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.589e-05/0.8665, allocations: 34.28 kB / 0.9578 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.8666, allocations: 1.188 kB / 0.9578 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.8667, allocations: 87.61 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.8668, allocations: 0 / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0004056/0.8672, allocations: 144.5 kB / 0.9581 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.8672, allocations: 61.36 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.97e-05/0.8673, allocations: 127.9 kB / 0.9582 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.8673, allocations: 27.05 kB / 0.9583 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.8674, allocations: 86.89 kB / 0.9583 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.8674, allocations: 18.86 kB / 0.9584 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.8674, allocations: 1.312 kB / 0.9584 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.494e-05/0.8675, allocations: 316.3 kB / 0.9587 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.174e-05/0.8676, allocations: 33.52 kB / 0.9587 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.327e-05/0.8677, allocations: 50.3 kB / 0.9587 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.106e-05/0.8678, allocations: 35.52 kB / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8678, allocations: 0 / 0.9588 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002336/0.868, allocations: 127.2 kB / 0.9589 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.868, allocations: 4.406 kB / 0.9589 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.8681, allocations: 5.391 kB / 0.9589 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.8681, allocations: 1.438 kB / 0.9589 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.8682, allocations: 8.5 kB / 0.9589 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.8682, allocations: 5.516 kB / 0.9589 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.496e-05/0.8683, allocations: 14.03 kB / 0.9589 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.551e-05/0.8683, allocations: 6.219 kB / 0.9589 GB, free: 4.141 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 8.114e-05/0.8684, allocations: 120.2 kB / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.8684, allocations: 6.344 kB / 0.9591 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.8684, allocations: 9.672 kB / 0.9591 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.8684, allocations: 6.609 kB / 0.9591 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8684, allocations: 0 / 0.9591 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.8685, allocations: 0 / 0.9591 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.8688, allocations: 387.5 kB / 0.9594 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8688, allocations: 0 / 0.9594 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.68e-05/0.8689, allocations: 5.656 kB / 0.9595 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.8689, allocations: 3.953 kB / 0.9595 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.8689, allocations: 9.422 kB / 0.9595 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8689, allocations: 3.938 kB / 0.9595 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.8689, allocations: 4 kB / 0.9595 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.8692, allocations: 215.2 kB / 0.9597 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.849e-05/0.8692, allocations: 83.58 kB / 0.9598 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.8693, allocations: 9.062 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/0.8693, allocations: 3.906 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.8694, allocations: 11.36 kB / 0.9598 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.8694, allocations: 5.5 kB / 0.9598 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.841e-05/0.8695, allocations: 92.14 kB / 0.9599 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8695, allocations: 0 / 0.9599 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003117/0.8698, allocations: 37.12 kB / 0.9599 GB, free: 3.23 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: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003617/0.8702, allocations: 177 kB / 0.9601 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002445/0.8704, allocations: 74.77 kB / 0.9601 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8704, allocations: 0 / 0.9601 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.8705, allocations: 39.3 kB / 0.9602 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.8708, allocations: 14.86 kB / 0.9602 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.8712, allocations: 228.2 kB / 0.9604 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.8713, allocations: 0.6839 MB / 0.9611 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.8714, allocations: 19.55 kB / 0.9611 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8714, allocations: 0 / 0.9611 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.003845/0.8752, allocations: 1.593 MB / 0.9627 GB, free: 1.316 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Windows.Validation.Zhang2012WindowsNorthCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorthCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorthCalcHelperMain.o] Error 1