Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matGai.y.1.|matGai.y.2.|matGai.y.3.|matGai.u.1.|matGai.u.2.|matGai1.y.1.|matGai1.y.2.|matGai1.u.1.|matGai1.u.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 102.6 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.001448/0.001448, allocations: 178.5 kB / 16.59 MB, free: 6.051 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.504/1.504, allocations: 223.3 MB / 240.6 MB, free: 5.406 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.638/2.638, allocations: 390.5 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003726, allocations: 12 kB / 0.8154 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8259/0.8263, allocations: 142.3 MB / 0.9544 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.00112/0.8275, allocations: 485 kB / 0.9549 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.8288, allocations: 0.8143 MB / 0.9557 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.148e-05/0.8289, allocations: 1.031 kB / 0.9557 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.8291, allocations: 59.12 kB / 0.9558 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.003e-05/0.8292, allocations: 34.28 kB / 0.9558 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.289e-05/0.8293, allocations: 17.28 kB / 0.9558 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.8295, allocations: 79.31 kB / 0.9559 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.8297, allocations: 17.58 kB / 0.9559 GB, free: 6.988 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.8299, allocations: 29.41 kB / 0.9559 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.8301, allocations: 76.69 kB / 0.956 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.039e-05/0.8302, allocations: 3.469 kB / 0.956 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.45e-05/0.8302, allocations: 7.562 kB / 0.956 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.8303, allocations: 31.89 kB / 0.956 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.204e-05/0.8304, allocations: 42.7 kB / 0.9561 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.8306, allocations: 72.44 kB / 0.9561 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.8306, allocations: 0 / 0.9561 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8306, allocations: 0 / 0.9561 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.8306, allocations: 3.938 kB / 0.9561 GB, free: 6.812 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001276/0.8319, allocations: 469.1 kB / 0.9566 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.494e-05/0.832, allocations: 10.09 kB / 0.9566 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.937e-05/0.8321, allocations: 13.39 kB / 0.9566 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.8324, allocations: 201.6 kB / 0.9568 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.8324, allocations: 10.22 kB / 0.9568 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.8325, allocations: 7.75 kB / 0.9568 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000662/0.8331, allocations: 166.2 kB / 0.957 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.8332, allocations: 0 / 0.957 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.8332, allocations: 1.375 kB / 0.957 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.8332, allocations: 1.312 kB / 0.957 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008845/0.8341, allocations: 208.4 kB / 0.9572 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.8355, allocations: 0.5119 MB / 0.9577 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.8362, allocations: 186.9 kB / 0.9579 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004321/0.8366, allocations: 112.6 kB / 0.958 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.8367, allocations: 1.031 kB / 0.958 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.8367, allocations: 39.73 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/0.8367, allocations: 1 kB / 0.958 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.00148/0.8382, allocations: 328.6 kB / 0.9583 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.8383, allocations: 82.58 kB / 0.9584 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002629/0.8386, allocations: 163 kB / 0.9586 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.8386, allocations: 26.89 kB / 0.9586 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.8387, allocations: 108.6 kB / 0.9587 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.8388, allocations: 23.44 kB / 0.9587 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.283e-05/0.8388, allocations: 2.219 kB / 0.9587 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.259e-05/0.8389, allocations: 320.7 kB / 0.959 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.8393, allocations: 99.36 kB / 0.9591 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.8397, allocations: 113.1 kB / 0.9592 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.8401, allocations: 100.4 kB / 0.9593 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.8401, allocations: 0 / 0.9593 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008133/0.8409, allocations: 238.5 kB / 0.9595 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/0.841, allocations: 13.45 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.841, allocations: 0 / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.841, allocations: 1.375 kB / 0.9596 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/0.8413, allocations: 42.2 kB / 0.9596 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.8414, allocations: 5.312 kB / 0.9596 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.8416, allocations: 40.33 kB / 0.9596 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.8416, allocations: 2.688 kB / 0.9596 GB, free: 4.137 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001228/0.8418, allocations: 125.2 kB / 0.9598 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.951e-05/0.8419, allocations: 13.88 kB / 0.9598 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.598e-05/0.8419, allocations: 24.3 kB / 0.9598 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.842, allocations: 0.9688 kB / 0.9598 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.842, allocations: 5.094 kB / 0.9598 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.842, allocations: 5.156 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/0.8424, allocations: 226.8 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.8424, allocations: 0 / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.8427, allocations: 42.16 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.8427, allocations: 1.031 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.8427, allocations: 0.9688 kB / 0.9601 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.8427, allocations: 8.938 kB / 0.9601 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8427, allocations: 5.031 kB / 0.9601 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.8436, allocations: 409.4 kB / 0.9605 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.8437, allocations: 92.08 kB / 0.9606 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.8437, allocations: 5.906 kB / 0.9606 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003071/0.844, allocations: 35.8 kB / 0.9606 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.8441, allocations: 15.78 kB / 0.9606 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.8441, allocations: 2.75 kB / 0.9606 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001174/0.8443, allocations: 123.9 kB / 0.9607 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.3e-07/0.8443, allocations: 0 / 0.9607 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004647/0.8447, allocations: 19.75 kB / 0.9608 GB, free: 3.195 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0001712/0.8449, allocations: 108.2 kB / 0.9609 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0008087/0.8457, allocations: 198.6 kB / 0.961 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.8458, allocations: 4 kB / 0.9611 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.8462, allocations: 102.6 kB / 0.9612 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/0.8467, allocations: 15.03 kB / 0.9612 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.8474, allocations: 312.5 kB / 0.9615 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001978/0.8477, allocations: 0.7085 MB / 0.9622 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.8477, allocations: 11.31 kB / 0.9622 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of SimCode: time 5.11e-07/0.8478, allocations: 0 / 0.9622 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of Templates: time 0.003623/0.8514, allocations: 1.485 MB / 0.9636 GB, free: 1.254 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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.MatrixGainCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGainCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGainCalcHelperMain.o] Error 1