Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sorAsc.u.1.|sorAsc.u.2.|sorAsc.u.3.|sorAsc.u.4.|sorAsc.u.5.|sorAsc.y.1.|sorAsc.y.2.|sorAsc.y.3.|sorAsc.y.4.|sorAsc.y.5.|sorDes.y.1.|sorDes.y.2.|sorDes.y.3.|sorDes.y.4.|sorDes.y.5.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008295/0.0008293, allocations: 103 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.001212/0.001212, allocations: 171.6 kB / 16.58 MB, free: 6.398 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.455/1.455, allocations: 223.3 MB / 240.6 MB, free: 5.414 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.498/2.498, allocations: 390.5 MB / 0.6662 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 12 kB / 0.8155 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.8583, allocations: 142.3 MB / 0.9544 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.0009334/0.8593, allocations: 0.5232 MB / 0.9549 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.8604, allocations: 1.003 MB / 0.9559 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.8604, allocations: 1.219 kB / 0.9559 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.188e-05/0.8605, allocations: 7.938 kB / 0.9559 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.376e-05/0.8606, allocations: 22.78 kB / 0.956 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.8609, allocations: 58.28 kB / 0.956 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.861, allocations: 104.3 kB / 0.9561 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.8612, allocations: 43.08 kB / 0.9561 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.859e-05/0.8612, allocations: 37.59 kB / 0.9562 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.147e-05/0.8613, allocations: 45.61 kB / 0.9562 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.8613, allocations: 4.094 kB / 0.9562 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.8615, allocations: 61.61 kB / 0.9563 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.893e-05/0.8615, allocations: 20.48 kB / 0.9563 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.8615, allocations: 43.02 kB / 0.9563 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.8617, allocations: 132.1 kB / 0.9565 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8617, allocations: 0 / 0.9565 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8617, allocations: 0 / 0.9565 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.8617, allocations: 1.25 kB / 0.9565 GB, free: 6.719 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006869/0.8624, allocations: 499.1 kB / 0.957 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.8624, allocations: 13.09 kB / 0.957 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.8625, allocations: 17.27 kB / 0.957 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.8626, allocations: 196.8 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.8627, allocations: 6.812 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.8627, allocations: 4.062 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004967/0.8632, allocations: 211.2 kB / 0.9574 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8632, allocations: 0 / 0.9574 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.8632, allocations: 3.984 kB / 0.9574 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.8633, allocations: 18.05 kB / 0.9574 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006758/0.8639, allocations: 263 kB / 0.9577 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007943/0.8648, allocations: 485.6 kB / 0.9581 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.8651, allocations: 163.2 kB / 0.9583 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.8655, allocations: 160.8 kB / 0.9584 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.8655, allocations: 5.922 kB / 0.9584 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/0.8655, allocations: 30.56 kB / 0.9585 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.8656, allocations: 0 / 0.9585 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001151/0.8667, allocations: 486 kB / 0.9589 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.8667, allocations: 52.78 kB / 0.959 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.8669, allocations: 146.4 kB / 0.9591 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.8669, allocations: 29.7 kB / 0.9591 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.8669, allocations: 109.8 kB / 0.9592 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.867, allocations: 44.77 kB / 0.9593 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-06/0.867, allocations: 0 / 0.9593 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.685e-05/0.867, allocations: 327 kB / 0.9596 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.8674, allocations: 139.9 kB / 0.9597 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.8677, allocations: 140.1 kB / 0.9599 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.868, allocations: 150.9 kB / 0.96 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.8681, allocations: 3.984 kB / 0.96 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000753/0.8688, allocations: 331.5 kB / 0.9603 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.8688, allocations: 8.812 kB / 0.9603 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.8689, allocations: 0.9375 kB / 0.9603 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.8689, allocations: 0 / 0.9603 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.8691, allocations: 50.77 kB / 0.9604 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8691, allocations: 1.031 kB / 0.9604 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.8693, allocations: 65.41 kB / 0.9605 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.8693, allocations: 1.219 kB / 0.9605 GB, free: 3.961 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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 9.008e-05/0.8694, allocations: 123.7 kB / 0.9606 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.8695, allocations: 11.98 kB / 0.9606 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.8695, allocations: 16.06 kB / 0.9606 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.8695, allocations: 11.42 kB / 0.9606 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8695, allocations: 0 / 0.9606 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.8696, allocations: 0 / 0.9606 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.8698, allocations: 226 kB / 0.9608 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.8698, allocations: 9.031 kB / 0.9608 GB, free: 3.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.87, allocations: 45.95 kB / 0.9609 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.87, allocations: 4.891 kB / 0.9609 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.87, allocations: 1 kB / 0.9609 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.87, allocations: 4 kB / 0.9609 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.87, allocations: 4.938 kB / 0.9609 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007844/0.8708, allocations: 429.5 kB / 0.9613 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.8709, allocations: 88.3 kB / 0.9614 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.338e-05/0.8709, allocations: 9.047 kB / 0.9614 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.8711, allocations: 44.83 kB / 0.9614 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.8712, allocations: 16.31 kB / 0.9615 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.8712, allocations: 2.188 kB / 0.9615 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.53e-05/0.8712, allocations: 112.6 kB / 0.9616 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8712, allocations: 0 / 0.9616 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003048/0.8715, allocations: 33.19 kB / 0.9616 GB, free: 3.07 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0001942/0.8717, allocations: 123.6 kB / 0.9617 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000779/0.8725, allocations: 306.6 kB / 0.962 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8725, allocations: 8 kB / 0.962 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003779/0.8729, allocations: 160.4 kB / 0.9622 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.8733, allocations: 18.25 kB / 0.9622 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005532/0.8739, allocations: 400.9 kB / 0.9626 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001607/0.874, allocations: 0.7241 MB / 0.9633 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.8741, allocations: 13.09 kB / 0.9633 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.8741, allocations: 0 / 0.9633 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of Templates: time 0.003824/0.8779, allocations: 1.871 MB / 0.9651 GB, free: 0.8164 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.makefile make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.SortCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.SortCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.SortCalcHelperMain.o] Error 1