Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001042, 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.001061/0.001061, allocations: 174.6 kB / 16.58 MB, free: 6.027 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.505/1.505, allocations: 223.3 MB / 240.6 MB, free: 5.348 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.565/2.565, allocations: 390.4 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003177/0.0003177, allocations: 12 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.7929, allocations: 142.3 MB / 0.9544 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001572/0.7945, allocations: 1.243 MB / 0.9556 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008014/0.7953, allocations: 0.5504 MB / 0.9562 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.737e-05/0.7954, allocations: 1.125 kB / 0.9562 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.861e-05/0.7955, allocations: 3.938 kB / 0.9562 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.424e-05/0.7956, allocations: 17.88 kB / 0.9562 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003257/0.7959, allocations: 71.22 kB / 0.9562 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.796, allocations: 83.84 kB / 0.9563 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.7961, allocations: 16.69 kB / 0.9563 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.7962, allocations: 35.72 kB / 0.9564 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.7963, allocations: 41.61 kB / 0.9564 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.7963, allocations: 3 kB / 0.9564 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-05/0.7964, allocations: 55.48 kB / 0.9565 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.712e-05/0.7965, allocations: 16.27 kB / 0.9565 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.7965, allocations: 35.95 kB / 0.9565 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.7967, allocations: 91.83 kB / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7967, allocations: 0 / 0.9566 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7967, allocations: 3.938 kB / 0.9566 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.7967, allocations: 0 / 0.9566 GB, free: 6.328 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.0006433/0.7974, allocations: 450.8 kB / 0.957 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.7974, allocations: 9.094 kB / 0.957 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.7975, allocations: 20.5 kB / 0.9571 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.7976, allocations: 187.9 kB / 0.9572 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.7976, allocations: 2.188 kB / 0.9573 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.7976, allocations: 4.406 kB / 0.9573 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.7979, allocations: 119.6 kB / 0.9574 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.798, allocations: 3.984 kB / 0.9574 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.798, allocations: 0 / 0.9574 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.798, allocations: 7.984 kB / 0.9574 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.7983, allocations: 112.1 kB / 0.9575 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.7989, allocations: 357.6 kB / 0.9578 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.7992, allocations: 108.1 kB / 0.9579 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.7993, allocations: 72.33 kB / 0.958 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.7994, allocations: 5.406 kB / 0.958 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002819/0.7996, allocations: 117.4 kB / 0.9581 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.7996, allocations: 0 / 0.9581 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005854/0.8003, allocations: 245 kB / 0.9584 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.8003, allocations: 56.86 kB / 0.9584 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.8004, allocations: 139.6 kB / 0.9585 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.8004, allocations: 27.27 kB / 0.9586 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.343e-05/0.8005, allocations: 104.4 kB / 0.9587 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.102e-05/0.8005, allocations: 24.56 kB / 0.9587 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.8005, allocations: 0 / 0.9587 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.654e-05/0.8006, allocations: 326.4 kB / 0.959 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.8007, allocations: 63.7 kB / 0.9591 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.8009, allocations: 69.42 kB / 0.9591 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.8011, allocations: 96.67 kB / 0.9592 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.8011, allocations: 3.953 kB / 0.9592 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004127/0.8015, allocations: 220.9 kB / 0.9594 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.8015, allocations: 33.45 kB / 0.9595 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.8016, allocations: 3.984 kB / 0.9595 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8016, allocations: 1.188 kB / 0.9595 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.8017, allocations: 24.95 kB / 0.9595 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.8017, allocations: 0 / 0.9595 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.8019, allocations: 22.61 kB / 0.9595 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.8019, allocations: 10.55 kB / 0.9595 GB, free: 3.922 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: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.065e-05/0.802, allocations: 124.2 kB / 0.9596 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/0.802, allocations: 12.3 kB / 0.9597 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.969e-05/0.802, allocations: 14.8 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.802, allocations: 3.219 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.802, allocations: 1.156 kB / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.802, allocations: 0 / 0.9597 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.8022, allocations: 204.1 kB / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8022, allocations: 0 / 0.9599 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.8023, allocations: 23.09 kB / 0.9599 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.8023, allocations: 5.344 kB / 0.9599 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.8023, allocations: 5.75 kB / 0.9599 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8023, allocations: 0 / 0.9599 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.8023, allocations: 7.984 kB / 0.9599 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.8027, allocations: 200.3 kB / 0.9601 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.549e-05/0.8027, allocations: 87.12 kB / 0.9602 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.8028, allocations: 7.953 kB / 0.9602 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.8029, allocations: 21.11 kB / 0.9602 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.803, allocations: 13.97 kB / 0.9602 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.803, allocations: 6.031 kB / 0.9602 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.803, allocations: 106.6 kB / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.803, allocations: 0 / 0.9603 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002432/0.8033, allocations: 39.22 kB / 0.9604 GB, free: 3.176 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * 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.0001428/0.8034, allocations: 108.2 kB / 0.9605 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.8039, allocations: 210.4 kB / 0.9607 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.8039, allocations: 0 / 0.9607 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.8041, allocations: 73.27 kB / 0.9607 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.8043, allocations: 13.5 kB / 0.9608 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.8048, allocations: 278.4 kB / 0.961 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.8049, allocations: 0.6997 MB / 0.9617 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.805, allocations: 15.56 kB / 0.9617 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of SimCode: time 2.6e-07/0.805, allocations: 0 / 0.9617 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of Templates: time 0.003309/0.8083, allocations: 1.5 MB / 0.9632 GB, free: 1.219 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRankerCalcHelperMain.o OMCppBuildings_9_Buildings.Controls.Continuous.Examples.SignalRankerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o] Error 1