Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006946/0.0006946, 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.0009946/0.0009946, allocations: 174.9 kB / 16.58 MB, free: 6.145 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.447/1.447, allocations: 223.3 MB / 240.6 MB, free: 5.41 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.474/2.474, allocations: 390.4 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 12 kB / 0.8154 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8703/0.8707, allocations: 142.3 MB / 0.9544 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.0008252/0.8716, allocations: 388.3 kB / 0.9548 GB, free: 7.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.873, allocations: 1.162 MB / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.8731, allocations: 1.438 kB / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.8731, allocations: 0 / 0.9559 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.8732, allocations: 9.203 kB / 0.9559 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006281/0.8738, allocations: 195.1 kB / 0.9561 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.874, allocations: 134 kB / 0.9563 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.8741, allocations: 16.7 kB / 0.9563 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.925e-05/0.8742, allocations: 54.48 kB / 0.9563 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.8742, allocations: 44.94 kB / 0.9564 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.8743, allocations: 8.938 kB / 0.9564 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.8744, allocations: 22.92 kB / 0.9564 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.793e-05/0.8744, allocations: 10.08 kB / 0.9564 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.8745, allocations: 37.11 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001397/0.8746, allocations: 104.6 kB / 0.9565 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.8746, allocations: 3.938 kB / 0.9565 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8746, allocations: 4 kB / 0.9565 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.8746, allocations: 0 / 0.9565 GB, free: 6.461 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.0004149/0.8751, allocations: 404.6 kB / 0.9569 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.8751, allocations: 9 kB / 0.9569 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.22e-05/0.8752, allocations: 18.89 kB / 0.957 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.8753, allocations: 170.2 kB / 0.9571 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.8753, allocations: 8.25 kB / 0.9571 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.8754, allocations: 9.562 kB / 0.9571 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.8755, allocations: 51.02 kB / 0.9572 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.8755, allocations: 4 kB / 0.9572 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.8755, allocations: 0 / 0.9572 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.8755, allocations: 1.375 kB / 0.9572 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.349e-05/0.8756, allocations: 20.12 kB / 0.9572 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.876, allocations: 346.2 kB / 0.9575 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.719e-05/0.8761, allocations: 41.31 kB / 0.9576 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.8761, allocations: 21.75 kB / 0.9576 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.8761, allocations: 1.312 kB / 0.9576 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.8763, allocations: 83.2 kB / 0.9577 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.8763, allocations: 1.188 kB / 0.9577 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0002438/0.8765, allocations: 114 kB / 0.9578 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.8766, allocations: 53.12 kB / 0.9578 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.8767, allocations: 119.2 kB / 0.958 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.8767, allocations: 33.83 kB / 0.958 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.8768, allocations: 92.73 kB / 0.9581 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.8768, allocations: 10.78 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.8768, allocations: 2.656 kB / 0.9581 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.714e-05/0.8769, allocations: 321.1 kB / 0.9584 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.877, allocations: 58.44 kB / 0.9584 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.8772, allocations: 94.41 kB / 0.9585 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.8773, allocations: 120 kB / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8773, allocations: 0 / 0.9587 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004077/0.8777, allocations: 256.3 kB / 0.9589 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.8778, allocations: 68.83 kB / 0.959 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.8778, allocations: 5.031 kB / 0.959 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.8778, allocations: 11.39 kB / 0.959 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.481e-05/0.8778, allocations: 5.5 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8779, allocations: 1.5 kB / 0.959 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.8782, allocations: 83.52 kB / 0.9591 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.8783, allocations: 9.5 kB / 0.9591 GB, free: 4.062 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,nand1.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 9.16e-05/0.8784, allocations: 126.7 kB / 0.9592 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.8784, allocations: 7.594 kB / 0.9592 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.8784, allocations: 4.375 kB / 0.9592 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.8784, allocations: 5.797 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.8785, allocations: 8 kB / 0.9592 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8785, allocations: 4 kB / 0.9592 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001183/0.8786, allocations: 182.1 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8786, allocations: 0 / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-06/0.8786, allocations: 1.812 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8786, allocations: 0 / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.8786, allocations: 1.781 kB / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8786, allocations: 0 / 0.9594 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.8786, allocations: 3.953 kB / 0.9594 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.8788, allocations: 115.7 kB / 0.9595 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.8788, allocations: 82.48 kB / 0.9596 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.8788, allocations: 1.531 kB / 0.9596 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.8789, allocations: 4.891 kB / 0.9596 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.8789, allocations: 2.844 kB / 0.9596 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.8789, allocations: 11.42 kB / 0.9596 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.498e-05/0.8789, allocations: 90.05 kB / 0.9597 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.879, allocations: 0 / 0.9597 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000239/0.8792, allocations: 27.38 kB / 0.9597 GB, free: 3.406 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,nand1.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.0001767/0.8794, allocations: 109.1 kB / 0.9598 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003284/0.8797, allocations: 244.2 kB / 0.9601 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8797, allocations: 0 / 0.9601 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.8798, allocations: 32.39 kB / 0.9601 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.8801, allocations: 16.61 kB / 0.9601 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.8804, allocations: 195.1 kB / 0.9603 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.8805, allocations: 0.6874 MB / 0.961 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.8805, allocations: 10.78 kB / 0.961 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8806, allocations: 0 / 0.961 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of Templates: time 0.00325/0.8838, allocations: 1.378 MB / 0.9623 GB, free: 1.5 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.NandCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.NandCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.NandCalcHelperMain.o] Error 1