Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, 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.001591/0.001591, 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.469/1.469, 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.585/2.585, allocations: 390.4 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 12 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7851/0.7854, allocations: 142.3 MB / 0.9544 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001437/0.7869, allocations: 1.192 MB / 0.9556 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002725/0.7872, allocations: 111.3 kB / 0.9557 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.358e-05/0.7872, allocations: 1.156 kB / 0.9557 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.7873, allocations: 3.938 kB / 0.9557 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.7874, allocations: 10.16 kB / 0.9557 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001799/0.7875, allocations: 20.11 kB / 0.9557 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.28e-05/0.7876, allocations: 42.97 kB / 0.9557 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.7877, allocations: 4.281 kB / 0.9558 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.7878, allocations: 13.73 kB / 0.9558 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.695e-05/0.7878, allocations: 26.58 kB / 0.9558 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.7878, allocations: 2.375 kB / 0.9558 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.353e-05/0.7879, allocations: 13.8 kB / 0.9558 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.498e-05/0.788, allocations: 10.62 kB / 0.9558 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.788, allocations: 36.02 kB / 0.9559 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.231e-05/0.7881, allocations: 37.42 kB / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.7881, allocations: 0 / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.096e-06/0.7881, allocations: 0 / 0.9559 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.7881, allocations: 5.406 kB / 0.9559 GB, free: 6.852 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.0004383/0.7885, allocations: 382.4 kB / 0.9563 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.7886, allocations: 9.156 kB / 0.9563 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.7886, allocations: 11.27 kB / 0.9563 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.7887, allocations: 178.2 kB / 0.9564 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.7888, allocations: 1 kB / 0.9564 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.7888, allocations: 2.938 kB / 0.9565 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.789, allocations: 88.47 kB / 0.9565 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.7891, allocations: 0 / 0.9565 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.7891, allocations: 0 / 0.9565 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.7891, allocations: 1.875 kB / 0.9565 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.7894, allocations: 105.1 kB / 0.9566 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003256/0.7897, allocations: 281.7 kB / 0.9569 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002048/0.7899, allocations: 78.47 kB / 0.957 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.7901, allocations: 61.41 kB / 0.957 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.7903, allocations: 104.9 kB / 0.9571 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.7904, allocations: 39.56 kB / 0.9572 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.7904, allocations: 0 / 0.9572 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0005798/0.791, allocations: 187.3 kB / 0.9574 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.307e-05/0.791, allocations: 52.91 kB / 0.9574 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.719e-05/0.7911, allocations: 124.3 kB / 0.9575 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.7911, allocations: 26.92 kB / 0.9575 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.663e-05/0.7911, allocations: 94.58 kB / 0.9576 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.7912, allocations: 9.078 kB / 0.9576 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.7912, allocations: 0 / 0.9576 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.391e-05/0.7912, allocations: 321.4 kB / 0.958 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.7914, allocations: 47.58 kB / 0.958 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.7915, allocations: 50.25 kB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.7917, allocations: 46.02 kB / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7917, allocations: 1.312 kB / 0.9581 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003102/0.792, allocations: 136.4 kB / 0.9582 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.792, allocations: 7 kB / 0.9582 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.792, allocations: 7.984 kB / 0.9582 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.7921, allocations: 5.172 kB / 0.9582 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.7922, allocations: 21.36 kB / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.7922, allocations: 0 / 0.9583 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.668e-05/0.7923, allocations: 17.48 kB / 0.9583 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.7923, allocations: 5.312 kB / 0.9583 GB, free: 4.746 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.831e-05/0.7924, allocations: 117.6 kB / 0.9584 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.7924, allocations: 6.188 kB / 0.9584 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003794/0.7928, allocations: 140.6 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.7928, allocations: 1.031 kB / 0.9585 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.7928, allocations: 3.953 kB / 0.9585 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.7928, allocations: 0.9375 kB / 0.9585 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.793, allocations: 176.5 kB / 0.9587 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.793, allocations: 0 / 0.9587 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.091e-05/0.7931, allocations: 27.34 kB / 0.9587 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7931, allocations: 0 / 0.9587 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.7931, allocations: 1.5 kB / 0.9587 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7931, allocations: 0 / 0.9587 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7931, allocations: 0 / 0.9587 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.7934, allocations: 228.7 kB / 0.959 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.7935, allocations: 86.77 kB / 0.959 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.7935, allocations: 9.812 kB / 0.959 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.7936, allocations: 18.67 kB / 0.9591 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.308e-05/0.7937, allocations: 5.766 kB / 0.9591 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.7937, allocations: 5.812 kB / 0.9591 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.7937, allocations: 102.6 kB / 0.9592 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7937, allocations: 3.938 kB / 0.9592 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002354/0.794, allocations: 10.47 kB / 0.9592 GB, free: 3.922 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0001399/0.7941, allocations: 100.6 kB / 0.9593 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.7945, allocations: 106.7 kB / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7945, allocations: 0 / 0.9594 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.7946, allocations: 50.12 kB / 0.9594 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.7949, allocations: 13.98 kB / 0.9594 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.7952, allocations: 182 kB / 0.9596 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.7954, allocations: 0.6837 MB / 0.9603 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.7954, allocations: 8.625 kB / 0.9603 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7954, allocations: 5.094 kB / 0.9603 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.003225/0.7986, allocations: 0.8838 MB / 0.9612 GB, free: 2.438 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinearCalcHelperMain.o OMCppBuildings_9_Buildings.Utilities.Math.Examples.QuadraticLinearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Utilities.Math.Examples.QuadraticLinearCalcHelperMain.o] Error 1