Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001167/0.001167, allocations: 99.59 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.001533/0.001533, allocations: 171.9 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.639/1.639, allocations: 223.2 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00202/0.00202, allocations: 267 kB / 292 MB, free: 1.977 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 144.7 MB / 487.8 MB, free: 7.195 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 11.91 kB / 0.5691 GB, free: 38.42 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.2159, allocations: 83.09 MB / 0.6502 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002213/0.2182, allocations: 1.236 MB / 0.6514 GB, free: 2.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.2195, allocations: 0.545 MB / 0.652 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.2196, allocations: 0 / 0.652 GB, free: 1.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.2197, allocations: 7.875 kB / 0.652 GB, free: 1.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.04e-05/0.2198, allocations: 16.73 kB / 0.652 GB, free: 1.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004638/0.2203, allocations: 70.05 kB / 0.652 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.2205, allocations: 83.7 kB / 0.6521 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.2206, allocations: 18.42 kB / 0.6521 GB, free: 1.672 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001813/0.2208, allocations: 35.86 kB / 0.6522 GB, free: 1.637 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.2209, allocations: 39.83 kB / 0.6522 GB, free: 1.598 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.221, allocations: 4 kB / 0.6522 GB, free: 1.594 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.2211, allocations: 55.88 kB / 0.6523 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.958e-05/0.2212, allocations: 16.64 kB / 0.6523 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.2212, allocations: 33.7 kB / 0.6523 GB, free: 1.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.2214, allocations: 89.08 kB / 0.6524 GB, free: 1.398 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.2215, allocations: 0 / 0.6524 GB, free: 1.398 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.2215, allocations: 0 / 0.6524 GB, free: 1.398 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.2215, allocations: 4.594 kB / 0.6524 GB, free: 1.395 MB / 446.1 MB 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.0009839/0.2225, allocations: 452.6 kB / 0.6528 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.2225, allocations: 8.031 kB / 0.6529 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.27e-05/0.2226, allocations: 11.84 kB / 0.6529 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002526/0.2229, allocations: 192.9 kB / 0.653 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2229, allocations: 5.281 kB / 0.6531 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.2229, allocations: 4 kB / 0.6531 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.2233, allocations: 116.4 kB / 0.6532 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2233, allocations: 4 kB / 0.6532 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.2233, allocations: 0 / 0.6532 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.2233, allocations: 4 kB / 0.6532 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.2237, allocations: 111.8 kB / 0.6533 GB, free: 428 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.2244, allocations: 360.7 kB / 0.6536 GB, free: 20 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.2248, allocations: 113 kB / 0.6537 GB, free: 15.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.225, allocations: 71.19 kB / 0.6538 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.225, allocations: 1.719 kB / 0.6538 GB, free: 15.83 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/0.2254, allocations: 121.4 kB / 0.6539 GB, free: 15.7 MB / 462.1 MB Notification: Performance of pre-optimization done (n=9): time 2.194e-06/0.2254, allocations: 0 / 0.6539 GB, free: 15.7 MB / 462.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006944/0.2261, allocations: 231.4 kB / 0.6541 GB, free: 15.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.2262, allocations: 55.41 kB / 0.6542 GB, free: 15.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.2263, allocations: 144.2 kB / 0.6543 GB, free: 15.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.2264, allocations: 29.78 kB / 0.6544 GB, free: 15.23 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.2265, allocations: 108 kB / 0.6545 GB, free: 15.12 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.2265, allocations: 23.64 kB / 0.6545 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.051e-05/0.2265, allocations: 4 kB / 0.6545 GB, free: 15.09 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2267, allocations: 322.8 kB / 0.6548 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.2269, allocations: 63.95 kB / 0.6549 GB, free: 14.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.2271, allocations: 64.23 kB / 0.6549 GB, free: 14.64 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.2273, allocations: 101.7 kB / 0.655 GB, free: 14.54 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2273, allocations: 3.938 kB / 0.655 GB, free: 14.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004813/0.2278, allocations: 223.2 kB / 0.6552 GB, free: 14.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.2279, allocations: 33.7 kB / 0.6553 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.2279, allocations: 0 / 0.6553 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2279, allocations: 0 / 0.6553 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.2281, allocations: 23.97 kB / 0.6553 GB, free: 14.24 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2281, allocations: 7.953 kB / 0.6553 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000155/0.2282, allocations: 23.98 kB / 0.6553 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.2283, allocations: 4 kB / 0.6553 GB, free: 14.2 MB / 462.1 MB 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 0.0001447/0.2284, allocations: 127.1 kB / 0.6554 GB, free: 14.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.2284, allocations: 11.91 kB / 0.6555 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.2285, allocations: 8.719 kB / 0.6555 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.2285, allocations: 7.984 kB / 0.6555 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.2285, allocations: 0 / 0.6555 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2285, allocations: 3.953 kB / 0.6555 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.2288, allocations: 197.5 kB / 0.6557 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.706e-06/0.2288, allocations: 4 kB / 0.6557 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.2289, allocations: 23.97 kB / 0.6557 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2289, allocations: 0 / 0.6557 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.2289, allocations: 4 kB / 0.6557 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2289, allocations: 0 / 0.6557 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.229, allocations: 0 / 0.6557 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004575/0.2294, allocations: 216.7 kB / 0.6559 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.2295, allocations: 85.02 kB / 0.656 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.2295, allocations: 7.984 kB / 0.656 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.2297, allocations: 19.98 kB / 0.656 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.28e-05/0.2298, allocations: 15.97 kB / 0.656 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/0.2298, allocations: 3.938 kB / 0.656 GB, free: 13.39 MB / 462.1 MB Notification: Performance of sorting global known variables: time 9.031e-05/0.2299, allocations: 109.3 kB / 0.6561 GB, free: 13.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2299, allocations: 0 / 0.6561 GB, free: 13.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0002948/0.2302, allocations: 40 kB / 0.6562 GB, free: 13.24 MB / 462.1 MB 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.0002741/0.2305, allocations: 120.5 kB / 0.6563 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005072/0.231, allocations: 211.3 kB / 0.6565 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.231, allocations: 0 / 0.6565 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.2312, allocations: 67.95 kB / 0.6565 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.2315, allocations: 21.39 kB / 0.6566 GB, free: 12.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006512/0.2321, allocations: 280.8 kB / 0.6568 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.2325, allocations: 0.7004 MB / 0.6575 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.475e-05/0.2326, allocations: 11.44 kB / 0.6575 GB, free: 11.76 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2326, allocations: 0 / 0.6575 GB, free: 11.76 MB / 462.1 MB Notification: Performance of Templates: time 0.004215/0.2368, allocations: 1.504 MB / 0.659 GB, free: 10.27 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRankerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRankerCalcHelperMain.o] Error 1