Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008284/0.0008282, allocations: 102.6 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.0009869/0.0009869, allocations: 178.6 kB / 16.59 MB, free: 6.039 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.441/1.441, allocations: 223.3 MB / 240.6 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 436.7 MB / 0.7113 GB, free: 7.805 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 8 kB / 0.8716 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9481/0.9485, allocations: 153.7 MB / 1.022 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001274/0.9498, allocations: 0.9293 MB / 1.023 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007441/0.9506, allocations: 351.1 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.9506, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.357e-05/0.9506, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.467e-05/0.9507, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.9511, allocations: 71.8 kB / 1.023 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.9512, allocations: 23.97 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.9512, allocations: 3.938 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.166e-05/0.9513, allocations: 4 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.972e-05/0.9513, allocations: 11.98 kB / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.189e-05/0.9513, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.9515, allocations: 79.86 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.9516, allocations: 7.984 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.9517, allocations: 25.7 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.9518, allocations: 63.84 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.9518, allocations: 3.938 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9518, allocations: 0 / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.9518, allocations: 4 kB / 1.023 GB, free: 15.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004971/0.9523, allocations: 365 kB / 1.024 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.9524, allocations: 11.98 kB / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.9524, allocations: 0 / 1.024 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.9526, allocations: 165 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.9526, allocations: 7.922 kB / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.9526, allocations: 0 / 1.024 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.9527, allocations: 45.64 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.9527, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.9528, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.9528, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.9528, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001796/0.953, allocations: 157.7 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.224e-05/0.9531, allocations: 30.55 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.9531, allocations: 12.86 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.9531, allocations: 4 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.9533, allocations: 59.44 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.9533, allocations: 0 / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002177/0.9535, allocations: 65.86 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.9536, allocations: 59.33 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.464e-05/0.9537, allocations: 97.86 kB / 1.024 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.9537, allocations: 25.83 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.483e-05/0.9537, allocations: 91.98 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.9538, allocations: 11.84 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/0.9538, allocations: 4 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.9539, allocations: 314.8 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.841e-05/0.9539, allocations: 8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.954, allocations: 35.42 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.145e-05/0.954, allocations: 15.98 kB / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.954, allocations: 0 / 1.025 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.305e-05/0.9541, allocations: 65.56 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9541, allocations: 7.953 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.9541, allocations: 4 kB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.9542, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.318e-05/0.9542, allocations: 15.98 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.9543, allocations: 96 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.9543, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.9543, allocations: 4 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001093/0.9544, allocations: 113.8 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.9545, allocations: 3.906 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.9545, allocations: 11.39 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.9545, allocations: 0 / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.9545, allocations: 4 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9545, allocations: 3.938 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.9547, allocations: 153.7 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.9547, allocations: 0 / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.9547, allocations: 7.984 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.9547, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-06/0.9547, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.9547, allocations: 7.953 kB / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9547, allocations: 0 / 1.025 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.9548, allocations: 81.11 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.9549, allocations: 77.11 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.9549, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.854e-05/0.9549, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.955, allocations: 7.953 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.955, allocations: 3.984 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.105e-05/0.955, allocations: 79.28 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.955, allocations: 3.938 kB / 1.025 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002502/0.9553, allocations: 28 kB / 1.025 GB, free: 12.93 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: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.0003438/0.9556, allocations: 156.3 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.9558, allocations: 31.98 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9558, allocations: 3.938 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.9558, allocations: 15.92 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001396/0.956, allocations: 4.5 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.9563, allocations: 150.4 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.9565, allocations: 0.6731 MB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.9566, allocations: 11.42 kB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.9566, allocations: 0 / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of Templates: time 0.00294/0.9595, allocations: 1.136 MB / 1.028 GB, free: 10.7 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.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.BaseClasses.Validation.BinaryVariableGenerationCalcHelperMain.o OMCppBuildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGenerationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGenerationCalcHelperMain.o] Error 1