Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_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.0008689/0.000869, allocations: 100.8 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.0009649/0.0009651, allocations: 175.7 kB / 16.58 MB, free: 6.141 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.469/1.469, allocations: 223.3 MB / 240.6 MB, free: 5.273 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.76/2.76, allocations: 390.4 MB / 0.6662 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003546, allocations: 8 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9424/0.9428, allocations: 142.3 MB / 0.9544 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration): time 0.001407/0.9443, allocations: 0.9328 MB / 0.9553 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007737/0.9451, allocations: 359.2 kB / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.499e-05/0.9451, allocations: 0 / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.9451, allocations: 0 / 0.9556 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.352e-05/0.9452, allocations: 3.984 kB / 0.9557 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.9458, allocations: 77.42 kB / 0.9557 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.648e-05/0.9459, allocations: 10.19 kB / 0.9557 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/0.9459, allocations: 1.062 kB / 0.9557 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.946, allocations: 11.55 kB / 0.9557 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.788e-05/0.946, allocations: 6.453 kB / 0.9558 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.5e-05/0.946, allocations: 1.094 kB / 0.9558 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.9463, allocations: 86.73 kB / 0.9558 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.62e-05/0.9463, allocations: 6.078 kB / 0.9558 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.9464, allocations: 31.28 kB / 0.9559 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.9465, allocations: 57.08 kB / 0.9559 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.9465, allocations: 0 / 0.9559 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.275e-06/0.9466, allocations: 0 / 0.9559 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.9466, allocations: 3.938 kB / 0.9559 GB, free: 7.105 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004362/0.947, allocations: 369.6 kB / 0.9563 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.9471, allocations: 9.094 kB / 0.9563 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.035e-05/0.9471, allocations: 13.83 kB / 0.9563 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.9472, allocations: 162.2 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.9473, allocations: 1.031 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/0.9473, allocations: 2.75 kB / 0.9565 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.9474, allocations: 42.58 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.9474, allocations: 0 / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.9475, allocations: 4 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.9475, allocations: 1.656 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.233e-05/0.9475, allocations: 6.328 kB / 0.9565 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.9477, allocations: 156.3 kB / 0.9567 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.267e-05/0.9478, allocations: 31.08 kB / 0.9567 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.9478, allocations: 8.922 kB / 0.9567 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.9478, allocations: 1.188 kB / 0.9567 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.948, allocations: 59.7 kB / 0.9568 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.144e-06/0.948, allocations: 4 kB / 0.9568 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002343/0.9482, allocations: 60.22 kB / 0.9568 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.9483, allocations: 52.59 kB / 0.9569 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.59e-05/0.9483, allocations: 104.2 kB / 0.957 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.288e-06/0.9484, allocations: 26.89 kB / 0.957 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.905e-05/0.9484, allocations: 81.2 kB / 0.9571 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.9484, allocations: 16.75 kB / 0.9571 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.377e-06/0.9484, allocations: 1.156 kB / 0.9571 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/0.9485, allocations: 316.1 kB / 0.9574 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.9485, allocations: 16.7 kB / 0.9574 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.9486, allocations: 25.25 kB / 0.9574 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.9486, allocations: 15.58 kB / 0.9574 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9486, allocations: 0 / 0.9574 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.848e-05/0.9487, allocations: 68.12 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.9487, allocations: 5.312 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.9487, allocations: 1.188 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.9488, allocations: 1.359 kB / 0.9575 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-05/0.9488, allocations: 10.78 kB / 0.9575 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9489, allocations: 1.062 kB / 0.9575 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.9489, allocations: 2.156 kB / 0.9575 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.9489, allocations: 14.03 kB / 0.9575 GB, free: 5.363 MB / 0.7169 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 6.4e-05/0.949, allocations: 112.8 kB / 0.9577 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.124e-05/0.949, allocations: 9.047 kB / 0.9577 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.353e-05/0.949, allocations: 8.594 kB / 0.9577 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.949, allocations: 1.031 kB / 0.9577 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.949, allocations: 3.938 kB / 0.9577 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9491, allocations: 0 / 0.9577 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.016e-05/0.9491, allocations: 161.5 kB / 0.9578 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.9492, allocations: 4 kB / 0.9578 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.07e-05/0.9492, allocations: 1.906 kB / 0.9578 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9492, allocations: 1.25 kB / 0.9578 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.9492, allocations: 5.234 kB / 0.9578 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.9492, allocations: 7.938 kB / 0.9579 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9492, allocations: 0 / 0.9579 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.9493, allocations: 82.39 kB / 0.9579 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.9494, allocations: 82.31 kB / 0.958 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.9494, allocations: 5.5 kB / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.869e-05/0.9494, allocations: 0 / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.9494, allocations: 1.406 kB / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.9494, allocations: 1.469 kB / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.156e-05/0.9495, allocations: 82.09 kB / 0.9581 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9495, allocations: 0 / 0.9581 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002747/0.9497, allocations: 32.05 kB / 0.9581 GB, free: 4.734 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: 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.0003407/0.9501, allocations: 155.5 kB / 0.9583 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.9502, allocations: 32.91 kB / 0.9583 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9502, allocations: 0 / 0.9583 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.9503, allocations: 19.39 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001425/0.9504, allocations: 9.016 kB / 0.9583 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.9507, allocations: 145.3 kB / 0.9585 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/0.9508, allocations: 0.6728 MB / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.9508, allocations: 9.781 kB / 0.9591 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9508, allocations: 4.188 kB / 0.9591 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of Templates: time 0.003064/0.9539, allocations: 1.135 MB / 0.9602 GB, free: 3.156 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGeneration.makefile make -j1 -f Buildings_9_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_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGenerationCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGenerationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.BaseClasses.Validation.BinaryVariableGenerationCalcHelperMain.o] Error 1