Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009518, allocations: 100.4 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.001165/0.001165, allocations: 175 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.505/1.505, allocations: 223.3 MB / 240.6 MB, free: 5.426 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.634/2.634, allocations: 390.4 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003497, allocations: 11.94 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7954, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.001624/0.797, allocations: 1.206 MB / 0.9556 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.7983, allocations: 0.6775 MB / 0.9562 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.062e-05/0.7984, allocations: 0 / 0.9562 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.75e-05/0.7985, allocations: 5 kB / 0.9562 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.314e-05/0.7985, allocations: 8.766 kB / 0.9563 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006788/0.7992, allocations: 100.5 kB / 0.9564 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.7994, allocations: 70.23 kB / 0.9564 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.7995, allocations: 13.64 kB / 0.9564 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.7997, allocations: 24.45 kB / 0.9565 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.141e-05/0.7998, allocations: 35.05 kB / 0.9565 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.7998, allocations: 7.406 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.8, allocations: 85.53 kB / 0.9566 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.8001, allocations: 14.05 kB / 0.9566 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.8001, allocations: 31.23 kB / 0.9566 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002013/0.8003, allocations: 98.81 kB / 0.9567 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.8003, allocations: 0.875 kB / 0.9567 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.775e-06/0.8003, allocations: 0 / 0.9567 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.8004, allocations: 4 kB / 0.9567 GB, free: 6.301 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.0006507/0.801, allocations: 409.6 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.8011, allocations: 9.438 kB / 0.9571 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.8011, allocations: 11.36 kB / 0.9571 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.8013, allocations: 175.2 kB / 0.9573 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.144e-05/0.8013, allocations: 6.5 kB / 0.9573 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/0.8014, allocations: 3.438 kB / 0.9573 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.8016, allocations: 70.25 kB / 0.9574 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.8016, allocations: 1.375 kB / 0.9574 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.8016, allocations: 4 kB / 0.9574 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.699e-06/0.8016, allocations: 1 kB / 0.9574 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.8018, allocations: 50.14 kB / 0.9574 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007119/0.8025, allocations: 325.2 kB / 0.9577 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.8027, allocations: 51.53 kB / 0.9578 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.8028, allocations: 38.66 kB / 0.9578 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.8029, allocations: 4.922 kB / 0.9578 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002625/0.8031, allocations: 75.53 kB / 0.9579 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.8031, allocations: 0 / 0.9579 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005021/0.8036, allocations: 156.1 kB / 0.958 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.8037, allocations: 53.84 kB / 0.9581 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.8038, allocations: 116.6 kB / 0.9582 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.8038, allocations: 30.86 kB / 0.9582 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.8039, allocations: 90.97 kB / 0.9583 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.8039, allocations: 18.72 kB / 0.9583 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.804, allocations: 4 kB / 0.9583 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.8041, allocations: 321.6 kB / 0.9587 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-05/0.8041, allocations: 24.2 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.8043, allocations: 51.2 kB / 0.9587 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.699e-05/0.8044, allocations: 43.47 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.8044, allocations: 1.438 kB / 0.9588 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002683/0.8046, allocations: 117.6 kB / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.8047, allocations: 5.312 kB / 0.9589 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.8047, allocations: 8.016 kB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.8047, allocations: 1.406 kB / 0.9589 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.8048, allocations: 17.92 kB / 0.9589 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.8049, allocations: 0.9688 kB / 0.9589 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.969e-05/0.8049, allocations: 17.27 kB / 0.9589 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.805, allocations: 3.469 kB / 0.9589 GB, free: 4.215 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 0.0001043/0.8051, allocations: 114.6 kB / 0.959 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.8051, allocations: 18.92 kB / 0.9591 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.8052, allocations: 9.5 kB / 0.9591 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.8052, allocations: 7.922 kB / 0.9591 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.8052, allocations: 0 / 0.9591 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.8052, allocations: 3.984 kB / 0.9591 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.8056, allocations: 378.2 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.8056, allocations: 1.781 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.841e-05/0.8057, allocations: 11.67 kB / 0.9595 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.8057, allocations: 3.953 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.8057, allocations: 1.75 kB / 0.9595 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.8057, allocations: 3.938 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.8057, allocations: 1.781 kB / 0.9595 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.806, allocations: 213.9 kB / 0.9597 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.8061, allocations: 83.55 kB / 0.9598 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.8061, allocations: 7.891 kB / 0.9598 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.945e-05/0.8062, allocations: 8.266 kB / 0.9598 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.8062, allocations: 3.438 kB / 0.9598 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.8062, allocations: 5.141 kB / 0.9598 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.8063, allocations: 89.25 kB / 0.9599 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8063, allocations: 0 / 0.9599 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003557/0.8067, allocations: 44.42 kB / 0.9599 GB, free: 3.305 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.0004366/0.8071, allocations: 164.4 kB / 0.9601 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002892/0.8074, allocations: 86.61 kB / 0.9601 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.8074, allocations: 0 / 0.9601 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.8075, allocations: 39.08 kB / 0.9602 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.8078, allocations: 5.078 kB / 0.9602 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.8083, allocations: 228.7 kB / 0.9604 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.8084, allocations: 0.6885 MB / 0.9611 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.141e-05/0.8084, allocations: 14.88 kB / 0.9611 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.8085, allocations: 0 / 0.9611 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of Templates: time 0.003728/0.8122, allocations: 1.615 MB / 0.9627 GB, free: 1.379 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile make -j1 -f Buildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAllCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAllCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAllCalcHelperMain.o] Error 1