Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009729/0.0009731, allocations: 99.34 kB / 16.02 MB, free: 76 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.001168/0.001168, allocations: 186.4 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.4 MB / 223.1 MB, free: 5.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.926/1.926, allocations: 292.7 MB / 0.5509 GB, free: 14.44 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005847/0.0005847, allocations: 17.33 kB / 0.675 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3412, allocations: 116.3 MB / 0.7885 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic): time 0.001489/0.3428, allocations: 0.9586 MB / 0.7895 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.344, allocations: 460.5 kB / 0.7899 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.086e-05/0.344, allocations: 3.938 kB / 0.7899 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.344, allocations: 0 / 0.7899 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.613e-05/0.3441, allocations: 0 / 0.7899 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.3447, allocations: 99.72 kB / 0.79 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.385e-05/0.3448, allocations: 19.98 kB / 0.79 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.534e-05/0.3449, allocations: 0 / 0.79 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.222e-05/0.3449, allocations: 4 kB / 0.79 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.345, allocations: 11.92 kB / 0.79 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.345, allocations: 0 / 0.79 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.3453, allocations: 107.8 kB / 0.7901 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.3453, allocations: 7.922 kB / 0.7901 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.683e-05/0.3454, allocations: 37.64 kB / 0.7902 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.3456, allocations: 67.89 kB / 0.7902 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.3456, allocations: 4 kB / 0.7903 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.479e-06/0.3456, allocations: 0 / 0.7903 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.3456, allocations: 0 / 0.7903 GB, free: 9.785 MB / 0.6075 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.0006874/0.3463, allocations: 373.4 kB / 0.7906 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.3464, allocations: 16.02 kB / 0.7906 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.3465, allocations: 0.9375 kB / 0.7906 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.3467, allocations: 168.3 kB / 0.7908 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.3467, allocations: 4.375 kB / 0.7908 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.3467, allocations: 4.375 kB / 0.7908 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3469, allocations: 42.19 kB / 0.7908 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3469, allocations: 192 / 0.7908 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3469, allocations: 3.938 kB / 0.7908 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3469, allocations: 0 / 0.7908 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.822e-05/0.347, allocations: 7.984 kB / 0.7908 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.3472, allocations: 161.7 kB / 0.791 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.3473, allocations: 30.61 kB / 0.791 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.198e-05/0.3474, allocations: 24.73 kB / 0.7911 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.3474, allocations: 0 / 0.7911 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.3476, allocations: 55.48 kB / 0.7911 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3476, allocations: 0 / 0.7911 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000245/0.3478, allocations: 65.62 kB / 0.7912 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.683e-05/0.3479, allocations: 67.31 kB / 0.7912 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.348, allocations: 105.8 kB / 0.7913 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3481, allocations: 33.69 kB / 0.7914 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.849e-05/0.3481, allocations: 84.14 kB / 0.7914 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.3482, allocations: 15.75 kB / 0.7915 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.3482, allocations: 13.72 kB / 0.7915 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000233/0.3485, allocations: 314.8 kB / 0.7918 GB, free: 8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.3485, allocations: 12 kB / 0.7918 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.986e-05/0.3485, allocations: 31.44 kB / 0.7918 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.3486, allocations: 51.36 kB / 0.7919 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3486, allocations: 0 / 0.7919 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001242/0.3488, allocations: 69.8 kB / 0.7919 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.3488, allocations: 7.938 kB / 0.7919 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3488, allocations: 0 / 0.7919 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.3488, allocations: 8.094 kB / 0.7919 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.564e-05/0.3489, allocations: 11.92 kB / 0.792 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.3489, allocations: 4 kB / 0.792 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.844e-05/0.349, allocations: 4 kB / 0.792 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.349, allocations: 4 kB / 0.792 GB, free: 7.77 MB / 0.6075 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 (y,$PRE.y,curSeed,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001041/0.3491, allocations: 106.7 kB / 0.7921 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.659e-05/0.3491, allocations: 15.84 kB / 0.7921 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.406e-05/0.3492, allocations: 3.906 kB / 0.7921 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3492, allocations: 0 / 0.7921 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3492, allocations: 4 kB / 0.7921 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.3492, allocations: 3.984 kB / 0.7921 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.3494, allocations: 157.7 kB / 0.7922 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3494, allocations: 0 / 0.7922 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.3494, allocations: 0 / 0.7922 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3494, allocations: 3.938 kB / 0.7922 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.3494, allocations: 4 kB / 0.7923 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.3494, allocations: 7.922 kB / 0.7923 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3494, allocations: 0 / 0.7923 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.3496, allocations: 89.05 kB / 0.7923 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/0.3497, allocations: 85.02 kB / 0.7924 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.3497, allocations: 3.938 kB / 0.7924 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.3497, allocations: 0 / 0.7924 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.3497, allocations: 3.984 kB / 0.7924 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.3498, allocations: 4.25 kB / 0.7924 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.914e-05/0.3498, allocations: 87.28 kB / 0.7925 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3498, allocations: 0 / 0.7925 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002512/0.3501, allocations: 35.98 kB / 0.7926 GB, free: 7.062 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004338/0.3505, allocations: 169.6 kB / 0.7927 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001362/0.3507, allocations: 31.92 kB / 0.7927 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3507, allocations: 0 / 0.7927 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.935e-05/0.3507, allocations: 12 kB / 0.7928 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.3509, allocations: 12.11 kB / 0.7928 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.3512, allocations: 140.5 kB / 0.7929 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.3515, allocations: 0.6847 MB / 0.7936 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.3516, allocations: 11.44 kB / 0.7936 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.3516, allocations: 0 / 0.7936 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.00351/0.3551, allocations: 1.245 MB / 0.7948 GB, free: 4.707 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile make -j1 -f Buildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadraticCalcHelperMain.o OMCppBuildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadraticCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadraticCalcHelperMain.o] Error 1