Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 103 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.0009009/0.000901, allocations: 171.4 kB / 16.58 MB, free: 6.402 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.467/1.467, 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.503/2.503, allocations: 390.4 MB / 0.6662 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004307, allocations: 16 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.8281, allocations: 142.3 MB / 0.9544 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.0008161/0.829, allocations: 387.7 kB / 0.9548 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.8303, allocations: 1.16 MB / 0.9559 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.8303, allocations: 0 / 0.9559 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.656e-05/0.8304, allocations: 0 / 0.9559 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.8304, allocations: 5.375 kB / 0.9559 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005915/0.831, allocations: 197.5 kB / 0.9561 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.8312, allocations: 133.7 kB / 0.9562 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.031e-05/0.8313, allocations: 17.03 kB / 0.9563 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.342e-05/0.8314, allocations: 51.09 kB / 0.9563 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.89e-05/0.8315, allocations: 49.27 kB / 0.9564 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.8315, allocations: 7.438 kB / 0.9564 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.317e-05/0.8316, allocations: 18.36 kB / 0.9564 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.8316, allocations: 19.55 kB / 0.9564 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.037e-05/0.8317, allocations: 36.52 kB / 0.9564 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.8318, allocations: 104.1 kB / 0.9565 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.8318, allocations: 5 kB / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8318, allocations: 0 / 0.9565 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.8318, allocations: 0 / 0.9565 GB, free: 6.551 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000363/0.8322, allocations: 404.5 kB / 0.9569 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8322, allocations: 9.219 kB / 0.9569 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.8323, allocations: 14.58 kB / 0.9569 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.991e-05/0.8324, allocations: 170 kB / 0.9571 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.8324, allocations: 16.25 kB / 0.9571 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.302e-05/0.8325, allocations: 8.938 kB / 0.9571 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.8326, allocations: 51.95 kB / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.8326, allocations: 0 / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.8326, allocations: 0 / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.8326, allocations: 1.406 kB / 0.9572 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.218e-05/0.8327, allocations: 22.72 kB / 0.9572 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.8331, allocations: 351.3 kB / 0.9575 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.794e-05/0.8332, allocations: 36.92 kB / 0.9576 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.8332, allocations: 14.81 kB / 0.9576 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.789e-06/0.8332, allocations: 0 / 0.9576 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.8333, allocations: 84.83 kB / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.8334, allocations: 0 / 0.9577 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002659/0.8336, allocations: 114.9 kB / 0.9578 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.8337, allocations: 52.41 kB / 0.9578 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.8337, allocations: 118.6 kB / 0.9579 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.8338, allocations: 30.33 kB / 0.958 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.049e-05/0.8338, allocations: 92.95 kB / 0.9581 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.8339, allocations: 14.14 kB / 0.9581 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-05/0.8339, allocations: 3.625 kB / 0.9581 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.8339, allocations: 320.9 kB / 0.9584 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.8341, allocations: 58.03 kB / 0.9584 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.8342, allocations: 101.2 kB / 0.9585 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.8344, allocations: 115.9 kB / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8344, allocations: 0 / 0.9586 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000372/0.8347, allocations: 264.8 kB / 0.9589 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.951e-05/0.8348, allocations: 70.98 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8348, allocations: 3.938 kB / 0.959 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.8348, allocations: 7.453 kB / 0.959 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.015e-05/0.8349, allocations: 1.75 kB / 0.959 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.8349, allocations: 0.9062 kB / 0.959 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.8352, allocations: 87.77 kB / 0.9591 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.8353, allocations: 9.219 kB / 0.9591 GB, free: 4.152 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.booPul1.y,booPul1.y,$PRE.booPul2.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.361e-05/0.8354, allocations: 126.9 kB / 0.9592 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.158e-05/0.8354, allocations: 6.875 kB / 0.9592 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.553e-05/0.8354, allocations: 9.75 kB / 0.9592 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.8354, allocations: 3.953 kB / 0.9592 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8354, allocations: 1.531 kB / 0.9592 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.8354, allocations: 3.984 kB / 0.9592 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.824e-05/0.8355, allocations: 172.4 kB / 0.9594 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8355, allocations: 1.625 kB / 0.9594 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.115e-06/0.8356, allocations: 0 / 0.9594 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8356, allocations: 1.219 kB / 0.9594 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.8356, allocations: 5.469 kB / 0.9594 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.8356, allocations: 4 kB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.8356, allocations: 5.359 kB / 0.9594 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.8357, allocations: 110.7 kB / 0.9595 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/0.8358, allocations: 82.52 kB / 0.9596 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.8358, allocations: 5.406 kB / 0.9596 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.07e-05/0.8358, allocations: 9.328 kB / 0.9596 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.8358, allocations: 3.562 kB / 0.9596 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.8359, allocations: 6.609 kB / 0.9596 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.299e-05/0.8359, allocations: 94.83 kB / 0.9597 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8359, allocations: 0 / 0.9597 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002324/0.8361, allocations: 31.38 kB / 0.9597 GB, free: 3.492 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001443/0.8363, allocations: 101.7 kB / 0.9598 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002981/0.8366, allocations: 243.8 kB / 0.9601 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.8366, allocations: 1.375 kB / 0.9601 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-05/0.8367, allocations: 32.62 kB / 0.9601 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/0.8369, allocations: 22.62 kB / 0.9601 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.8372, allocations: 190.1 kB / 0.9603 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.8373, allocations: 0.6917 MB / 0.961 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.81e-05/0.8374, allocations: 11.56 kB / 0.961 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.8374, allocations: 0 / 0.961 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of Templates: time 0.003101/0.8405, allocations: 1.369 MB / 0.9623 GB, free: 1.594 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.OBC.CDL.Logical.Validation.NorCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.NorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.NorCalcHelperMain.o] Error 1