Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008081/0.0008083, allocations: 99.83 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.0008776/0.0008777, allocations: 177.6 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.425/1.425, allocations: 223.2 MB / 240.6 MB, free: 5.406 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.625/2.625, allocations: 390.4 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 8 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9035/0.9038, allocations: 142.3 MB / 0.9544 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.001487/0.9053, allocations: 1.121 MB / 0.9555 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007833/0.9061, allocations: 472.2 kB / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.9062, allocations: 0.6562 kB / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.369e-05/0.9063, allocations: 2.219 kB / 0.9559 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.9063, allocations: 14.28 kB / 0.956 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.9069, allocations: 185.9 kB / 0.9561 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.9071, allocations: 121.5 kB / 0.9563 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.9072, allocations: 7.234 kB / 0.9563 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.9073, allocations: 59.09 kB / 0.9563 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.603e-05/0.9074, allocations: 45.38 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.9074, allocations: 5.625 kB / 0.9564 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002564/0.9077, allocations: 147.2 kB / 0.9565 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.287e-05/0.9077, allocations: 26.62 kB / 0.9565 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.9078, allocations: 47.8 kB / 0.9566 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.9081, allocations: 163.6 kB / 0.9567 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.9081, allocations: 5.078 kB / 0.9567 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9081, allocations: 0 / 0.9567 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.9081, allocations: 4 kB / 0.9567 GB, free: 6.328 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005548/0.9087, allocations: 423.5 kB / 0.9571 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.9087, allocations: 8.625 kB / 0.9572 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.9088, allocations: 19.92 kB / 0.9572 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.909, allocations: 196 kB / 0.9574 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.909, allocations: 4.281 kB / 0.9574 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.909, allocations: 16.95 kB / 0.9574 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.9092, allocations: 82.58 kB / 0.9575 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.9092, allocations: 5 kB / 0.9575 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.9092, allocations: 7.953 kB / 0.9575 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.9093, allocations: 1.062 kB / 0.9575 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.9094, allocations: 34.61 kB / 0.9575 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.9097, allocations: 233.9 kB / 0.9577 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001753/0.9099, allocations: 77.83 kB / 0.9578 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.331e-05/0.91, allocations: 56.53 kB / 0.9579 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.879e-06/0.91, allocations: 1.438 kB / 0.9579 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003253/0.9103, allocations: 111.2 kB / 0.958 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.9103, allocations: 4 kB / 0.958 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.0005694/0.9109, allocations: 190.3 kB / 0.9582 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/0.911, allocations: 81.61 kB / 0.9582 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.9112, allocations: 157.5 kB / 0.9584 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.9113, allocations: 33.92 kB / 0.9584 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.619e-05/0.9114, allocations: 106.7 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.577e-05/0.9114, allocations: 40.59 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.9114, allocations: 1.562 kB / 0.9586 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.9116, allocations: 330.7 kB / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.064e-05/0.9117, allocations: 41.3 kB / 0.9589 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003168/0.912, allocations: 198.9 kB / 0.9591 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.9122, allocations: 67.55 kB / 0.9592 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9122, allocations: 0 / 0.9592 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003548/0.9125, allocations: 158.1 kB / 0.9593 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.9126, allocations: 5.312 kB / 0.9593 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.252e-05/0.9126, allocations: 5.781 kB / 0.9593 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/0.9127, allocations: 13.69 kB / 0.9593 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.9128, allocations: 11.16 kB / 0.9593 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.079e-05/0.9128, allocations: 0.625 kB / 0.9593 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.9131, allocations: 91.03 kB / 0.9594 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.603e-05/0.9132, allocations: 4.125 kB / 0.9594 GB, free: 3.91 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition2,$PRE.occSchWee.occupied,occSchWee.occupied,$PRE.occSchWee.tOcc,occSchWee.tOcc,$PRE.occSchWee.tNonOcc,occSchWee.tNonOcc,$PRE.occSchWee.tNext,occSchWee.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001555/0.9133, allocations: 135.7 kB / 0.9596 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.9134, allocations: 15.97 kB / 0.9596 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.9134, allocations: 12.84 kB / 0.9596 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.9134, allocations: 5.328 kB / 0.9596 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.9134, allocations: 7.922 kB / 0.9596 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.9134, allocations: 1.375 kB / 0.9596 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.9136, allocations: 194.1 kB / 0.9598 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.9136, allocations: 1.375 kB / 0.9598 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.9137, allocations: 9.484 kB / 0.9598 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.9137, allocations: 1.375 kB / 0.9598 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.9137, allocations: 1.375 kB / 0.9598 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.9137, allocations: 1.375 kB / 0.9598 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.9137, allocations: 7.953 kB / 0.9598 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/0.914, allocations: 180.1 kB / 0.96 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.9141, allocations: 83.77 kB / 0.9601 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.9141, allocations: 5.312 kB / 0.9601 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.418e-05/0.9142, allocations: 12.11 kB / 0.9601 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.9142, allocations: 6.703 kB / 0.9601 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.9143, allocations: 6.75 kB / 0.9601 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.109e-05/0.9143, allocations: 116.7 kB / 0.9602 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9144, allocations: 0 / 0.9602 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004316/0.9148, allocations: 78.05 kB / 0.9603 GB, free: 3.16 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003349/0.9151, allocations: 160.7 kB / 0.9604 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.9155, allocations: 161.3 kB / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9155, allocations: 1.031 kB / 0.9606 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.143e-05/0.9156, allocations: 51.55 kB / 0.9606 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.9158, allocations: 4.828 kB / 0.9606 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005511/0.9164, allocations: 266.8 kB / 0.9609 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.9166, allocations: 0.7059 MB / 0.9616 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.9166, allocations: 12.47 kB / 0.9616 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9166, allocations: 0 / 0.9616 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of Templates: time 0.006089/0.9227, allocations: 2.412 MB / 0.964 GB, free: 0.7578 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.SetPoints.Examples.OccupancyScheduleCalcHelperMain.o] Error 1