Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008206/0.0008208, allocations: 100.2 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.000986/0.0009862, allocations: 176.4 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.495/1.495, allocations: 223.2 MB / 240.6 MB, free: 5.418 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.602/2.602, allocations: 390.4 MB / 0.6662 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003795, allocations: 8 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.834/0.8344, allocations: 142.3 MB / 0.9544 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001291/0.8358, allocations: 0.9438 MB / 0.9553 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008199/0.8366, allocations: 436.3 kB / 0.9557 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.8367, allocations: 0.9688 kB / 0.9557 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.8367, allocations: 0 / 0.9557 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.414e-05/0.8367, allocations: 3.938 kB / 0.9557 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.8372, allocations: 89.95 kB / 0.9558 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.98e-05/0.8373, allocations: 19.31 kB / 0.9558 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.099e-05/0.8373, allocations: 1.5 kB / 0.9558 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.712e-05/0.8374, allocations: 13.73 kB / 0.9559 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.619e-05/0.8374, allocations: 13.88 kB / 0.9559 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.8374, allocations: 2.25 kB / 0.9559 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.8376, allocations: 96.69 kB / 0.956 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.8377, allocations: 6.75 kB / 0.956 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.8377, allocations: 27.05 kB / 0.956 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.8379, allocations: 65.7 kB / 0.9561 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.8379, allocations: 0 / 0.9561 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.724e-06/0.8379, allocations: 0 / 0.9561 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8379, allocations: 1.531 kB / 0.9561 GB, free: 6.891 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.0003987/0.8383, allocations: 371.9 kB / 0.9564 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.8383, allocations: 9.938 kB / 0.9564 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.8384, allocations: 9.484 kB / 0.9564 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.495e-05/0.8385, allocations: 180.3 kB / 0.9566 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.8385, allocations: 5.391 kB / 0.9566 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.8385, allocations: 2.438 kB / 0.9566 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.8386, allocations: 39.31 kB / 0.9566 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.8386, allocations: 0 / 0.9566 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.8387, allocations: 5.125 kB / 0.9566 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.8387, allocations: 0 / 0.9566 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.474e-05/0.8387, allocations: 15.66 kB / 0.9567 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.8389, allocations: 158.6 kB / 0.9568 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.356e-05/0.839, allocations: 30.3 kB / 0.9568 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.573e-05/0.839, allocations: 9.891 kB / 0.9569 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.839, allocations: 5.031 kB / 0.9569 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.8392, allocations: 55.92 kB / 0.9569 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.263e-06/0.8392, allocations: 4 kB / 0.9569 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.8394, allocations: 63.03 kB / 0.957 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.8394, allocations: 56.52 kB / 0.957 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.401e-05/0.8395, allocations: 105.5 kB / 0.9571 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.8395, allocations: 37.58 kB / 0.9572 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.162e-05/0.8395, allocations: 85.78 kB / 0.9572 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.8396, allocations: 9.25 kB / 0.9573 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-06/0.8396, allocations: 4 kB / 0.9573 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.8396, allocations: 312.3 kB / 0.9576 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.792e-05/0.8397, allocations: 12.59 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.311e-05/0.8397, allocations: 30.2 kB / 0.9576 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.021e-05/0.8397, allocations: 11 kB / 0.9576 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.8397, allocations: 1.125 kB / 0.9576 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.768e-05/0.8399, allocations: 71.45 kB / 0.9577 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.8399, allocations: 6.219 kB / 0.9577 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8399, allocations: 4.781 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.8399, allocations: 1.031 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.79e-05/0.84, allocations: 7.844 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.84, allocations: 1.656 kB / 0.9577 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.715e-05/0.84, allocations: 9.312 kB / 0.9577 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.84, allocations: 6.172 kB / 0.9577 GB, free: 5.117 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 7.017e-05/0.8401, allocations: 108.7 kB / 0.9578 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.8401, allocations: 14.27 kB / 0.9578 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.616e-05/0.8402, allocations: 7.906 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.8402, allocations: 1.047 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.8402, allocations: 1 kB / 0.9578 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.8402, allocations: 3.984 kB / 0.9578 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.8403, allocations: 166.3 kB / 0.958 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8403, allocations: 0 / 0.958 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-05/0.8403, allocations: 6.156 kB / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.8403, allocations: 1.125 kB / 0.958 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.8403, allocations: 5.297 kB / 0.958 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.8404, allocations: 4 kB / 0.958 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8404, allocations: 0 / 0.958 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.8405, allocations: 83.89 kB / 0.9581 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.866e-05/0.8405, allocations: 85 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.8405, allocations: 1.438 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.8406, allocations: 0 / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.337e-05/0.8406, allocations: 1.969 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.8406, allocations: 2.125 kB / 0.9582 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.931e-05/0.8406, allocations: 91.08 kB / 0.9583 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8407, allocations: 0 / 0.9583 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002499/0.8409, allocations: 31.31 kB / 0.9583 GB, free: 4.48 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.0003566/0.8413, allocations: 167.9 kB / 0.9585 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.8414, allocations: 21.41 kB / 0.9585 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.8414, allocations: 4.062 kB / 0.9585 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.287e-05/0.8414, allocations: 19.92 kB / 0.9585 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.8416, allocations: 11.31 kB / 0.9585 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002907/0.8419, allocations: 144.3 kB / 0.9587 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.842, allocations: 0.6794 MB / 0.9593 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.8421, allocations: 8.531 kB / 0.9593 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.8421, allocations: 4 kB / 0.9593 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of Templates: time 0.003232/0.8453, allocations: 1.253 MB / 0.9606 GB, free: 2.832 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.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.Logit1DQuadraticCalcHelperMain.o OMCppBuildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadraticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadraticCalcHelperMain.o] Error 1