Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008474, allocations: 100.1 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.0008956/0.0008961, allocations: 175.2 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.491/1.491, allocations: 223.2 MB / 240.6 MB, free: 5.422 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.415/2.415, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004002/0.0004002, allocations: 15.98 kB / 0.8155 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9084/0.9088, allocations: 142.3 MB / 0.9544 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002471/0.9113, allocations: 1.59 MB / 0.956 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.913, allocations: 1.018 MB / 0.957 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.9132, allocations: 7.594 kB / 0.957 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004796/0.9137, allocations: 107 kB / 0.9571 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.9139, allocations: 93.38 kB / 0.9572 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.9143, allocations: 115.7 kB / 0.9573 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.9146, allocations: 174.3 kB / 0.9575 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.9148, allocations: 35.61 kB / 0.9575 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.9149, allocations: 76.47 kB / 0.9576 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.9151, allocations: 81.06 kB / 0.9576 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.9151, allocations: 3.969 kB / 0.9576 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.9152, allocations: 40.5 kB / 0.9577 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.309e-05/0.9153, allocations: 57.12 kB / 0.9577 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.9154, allocations: 58.11 kB / 0.9578 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002747/0.9157, allocations: 213.4 kB / 0.958 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.9157, allocations: 3.984 kB / 0.958 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9157, allocations: 0 / 0.958 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.9157, allocations: 0 / 0.958 GB, free: 5.316 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008088/0.9165, allocations: 0.5124 MB / 0.9585 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.9166, allocations: 10.53 kB / 0.9585 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.9166, allocations: 26.17 kB / 0.9585 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.9171, allocations: 361.9 kB / 0.9589 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.9172, allocations: 11.75 kB / 0.9589 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.9172, allocations: 8.5 kB / 0.9589 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.9174, allocations: 84.61 kB / 0.959 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.9174, allocations: 3.984 kB / 0.959 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.9174, allocations: 4.688 kB / 0.959 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/0.9175, allocations: 14.05 kB / 0.959 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.9176, allocations: 36.2 kB / 0.959 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.9183, allocations: 413.8 kB / 0.9594 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002427/0.9185, allocations: 81.34 kB / 0.9595 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.894e-05/0.9186, allocations: 29.78 kB / 0.9595 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.9186, allocations: 0 / 0.9595 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.9188, allocations: 89.77 kB / 0.9596 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.9188, allocations: 0 / 0.9596 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003392/0.9192, allocations: 127.9 kB / 0.9597 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.9192, allocations: 52.84 kB / 0.9598 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.9195, allocations: 305.2 kB / 0.9601 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.9196, allocations: 31.14 kB / 0.9601 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.893e-05/0.9197, allocations: 140.7 kB / 0.9602 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.9197, allocations: 30.22 kB / 0.9603 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.096e-05/0.9197, allocations: 5.438 kB / 0.9603 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.9198, allocations: 334.2 kB / 0.9606 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.569e-05/0.9199, allocations: 41.98 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.751e-05/0.92, allocations: 63.47 kB / 0.9607 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.656e-05/0.9201, allocations: 44.33 kB / 0.9607 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9201, allocations: 0 / 0.9607 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002787/0.9204, allocations: 175.4 kB / 0.9609 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.9204, allocations: 7.062 kB / 0.9609 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.9205, allocations: 0 / 0.9609 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.9205, allocations: 5.312 kB / 0.9609 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.9206, allocations: 21.86 kB / 0.9609 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.9206, allocations: 1.375 kB / 0.9609 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.9207, allocations: 14.98 kB / 0.961 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.9208, allocations: 10.88 kB / 0.961 GB, free: 2.781 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: 8 ($whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.000171/0.921, allocations: 166.1 kB / 0.9611 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.921, allocations: 26.67 kB / 0.9612 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.705e-05/0.9211, allocations: 27.41 kB / 0.9612 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.9211, allocations: 1.375 kB / 0.9612 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.9211, allocations: 0 / 0.9612 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.9211, allocations: 0 / 0.9612 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.9213, allocations: 237.5 kB / 0.9614 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.9213, allocations: 0 / 0.9614 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.9213, allocations: 8.062 kB / 0.9614 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.9213, allocations: 7.953 kB / 0.9614 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.9214, allocations: 1.375 kB / 0.9614 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.9214, allocations: 5.359 kB / 0.9614 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.9214, allocations: 0 / 0.9614 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.9216, allocations: 134.9 kB / 0.9616 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.402e-05/0.9217, allocations: 93.17 kB / 0.9616 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.9217, allocations: 14.08 kB / 0.9617 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.18e-05/0.9218, allocations: 18.08 kB / 0.9617 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.9219, allocations: 11.91 kB / 0.9617 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.9219, allocations: 7.031 kB / 0.9617 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002193/0.9221, allocations: 210.6 kB / 0.9619 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.9221, allocations: 0 / 0.9619 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002627/0.9224, allocations: 46.42 kB / 0.9619 GB, free: 1.949 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: 5 ($whenCondition1,les.y,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 3 (timTabLin.tab.nextTimeEventScaled,lesHys.lesHys.y,timTabLin.tab.nextTimeEvent) * 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.00108/0.9235, allocations: 419.2 kB / 0.9623 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002691/0.9238, allocations: 89.02 kB / 0.9624 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9238, allocations: 1.062 kB / 0.9624 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.219e-05/0.9239, allocations: 33.45 kB / 0.9625 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.9243, allocations: 47.78 kB / 0.9625 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.925, allocations: 451 kB / 0.9629 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.9253, allocations: 0.7462 MB / 0.9637 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.9254, allocations: 30.81 kB / 0.9637 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.9254, allocations: 0 / 0.9637 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of Templates: time 0.006713/0.9321, allocations: 3.237 MB / 0.9669 GB, free: 14.95 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThresholdCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThresholdCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThresholdCalcHelperMain.o] Error 1