Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.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.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000907/0.0009071, allocations: 100.4 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.00151/0.00151, allocations: 175.1 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.518/1.518, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001906/0.001906, allocations: 282.7 kB / 292 MB, free: 1.98 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.9401/0.9401, allocations: 144.7 MB / 487.8 MB, free: 7.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006486/0.0006487, allocations: 12.53 kB / 0.5691 GB, free: 38.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2415, allocations: 83.08 MB / 0.6502 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.001703/0.2432, allocations: 1.147 MB / 0.6513 GB, free: 2.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.2448, allocations: 0.7828 MB / 0.6521 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.131e-05/0.2449, allocations: 0 / 0.6521 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.2451, allocations: 132.9 kB / 0.6522 GB, free: 1.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.2453, allocations: 73.69 kB / 0.6523 GB, free: 1.449 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.2459, allocations: 135.1 kB / 0.6524 GB, free: 1.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.246, allocations: 60.52 kB / 0.6525 GB, free: 1.262 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.849e-05/0.2461, allocations: 5.25 kB / 0.6525 GB, free: 1.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.159e-05/0.2462, allocations: 35.89 kB / 0.6525 GB, free: 1.223 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.2463, allocations: 60.58 kB / 0.6526 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.2464, allocations: 3.984 kB / 0.6526 GB, free: 1.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004094/0.2468, allocations: 232.2 kB / 0.6528 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.2469, allocations: 60.47 kB / 0.6529 GB, free: 0.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.473e-05/0.247, allocations: 49.58 kB / 0.6529 GB, free: 0.8203 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.2473, allocations: 192.5 kB / 0.6531 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.2473, allocations: 4.625 kB / 0.6531 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.2473, allocations: 0 / 0.6531 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.2473, allocations: 1.406 kB / 0.6531 GB, free: 0.6289 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0008443/0.2482, allocations: 495.5 kB / 0.6536 GB, free: 100 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.2482, allocations: 8.031 kB / 0.6536 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.952e-05/0.2483, allocations: 19.72 kB / 0.6536 GB, free: 72 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.2487, allocations: 255.3 kB / 0.6539 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.2487, allocations: 4.547 kB / 0.6539 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.2487, allocations: 3.984 kB / 0.6539 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.2489, allocations: 87.09 kB / 0.6539 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.249, allocations: 0.6562 kB / 0.6539 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.249, allocations: 0 / 0.6539 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.249, allocations: 0.75 kB / 0.6539 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.2492, allocations: 102.5 kB / 0.654 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.2499, allocations: 394.3 kB / 0.6544 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.2501, allocations: 105 kB / 0.6545 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.2503, allocations: 53.61 kB / 0.6546 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.2503, allocations: 17.83 kB / 0.6546 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.2504, allocations: 34.56 kB / 0.6546 GB, free: 14.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2504, allocations: 0 / 0.6546 GB, free: 14.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=2): time 0.0005878/0.251, allocations: 197 kB / 0.6548 GB, free: 14.74 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.251, allocations: 52.31 kB / 0.6549 GB, free: 14.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.2515, allocations: 355.2 kB / 0.6552 GB, free: 14.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.2515, allocations: 27.42 kB / 0.6552 GB, free: 14.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.2517, allocations: 136 kB / 0.6554 GB, free: 14.15 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.2517, allocations: 3.906 kB / 0.6554 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.2518, allocations: 4 kB / 0.6554 GB, free: 14.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.252, allocations: 339.4 kB / 0.6557 GB, free: 13.8 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.2523, allocations: 103.2 kB / 0.6558 GB, free: 13.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.2524, allocations: 97.92 kB / 0.6559 GB, free: 13.61 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.2526, allocations: 109.7 kB / 0.656 GB, free: 13.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.2526, allocations: 0 / 0.656 GB, free: 13.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003647/0.253, allocations: 266.5 kB / 0.6562 GB, free: 13.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.253, allocations: 8 kB / 0.6562 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.253, allocations: 0 / 0.6562 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.253, allocations: 0 / 0.6562 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.2531, allocations: 15.92 kB / 0.6563 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.2532, allocations: 0 / 0.6563 GB, free: 13.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.793e-05/0.2532, allocations: 19.83 kB / 0.6563 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.2533, allocations: 0 / 0.6563 GB, free: 13.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: 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): 2 * Array equations: 1 * 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.0001533/0.2534, allocations: 151.1 kB / 0.6564 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.2535, allocations: 19.72 kB / 0.6564 GB, free: 13.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003222/0.2538, allocations: 150.6 kB / 0.6566 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.2538, allocations: 4.031 kB / 0.6566 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.2538, allocations: 4 kB / 0.6566 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.2538, allocations: 3.938 kB / 0.6566 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002779/0.2541, allocations: 245.5 kB / 0.6568 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2541, allocations: 0 / 0.6568 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.145e-05/0.2542, allocations: 11.98 kB / 0.6568 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.2542, allocations: 7.938 kB / 0.6568 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2542, allocations: 4 kB / 0.6569 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2542, allocations: 0 / 0.6569 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2542, allocations: 0 / 0.6569 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.2546, allocations: 239.2 kB / 0.6571 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.538e-05/0.2547, allocations: 105 kB / 0.6572 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.2547, allocations: 8.016 kB / 0.6572 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.2548, allocations: 12 kB / 0.6572 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.2548, allocations: 3.984 kB / 0.6572 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.2549, allocations: 0 / 0.6572 GB, free: 12.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.2551, allocations: 245.9 kB / 0.6574 GB, free: 11.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2551, allocations: 0 / 0.6574 GB, free: 11.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004261/0.2556, allocations: 71.98 kB / 0.6575 GB, free: 11.84 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003597/0.2559, allocations: 159.2 kB / 0.6577 GB, free: 11.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.2563, allocations: 167.8 kB / 0.6578 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2563, allocations: 0 / 0.6578 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.2564, allocations: 55.97 kB / 0.6579 GB, free: 11.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.2568, allocations: 18.7 kB / 0.6579 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.2575, allocations: 444.1 kB / 0.6583 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.2581, allocations: 0.7394 MB / 0.659 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.2581, allocations: 15.44 kB / 0.6591 GB, free: 10.2 MB / 462.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2581, allocations: 3.938 kB / 0.6591 GB, free: 10.19 MB / 462.1 MB Notification: Performance of Templates: time 0.005008/0.2632, allocations: 2.427 MB / 0.6614 GB, free: 7.777 MB / 462.1 MB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.Interpolate.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.Airflow.Multizone.BaseClasses.Examples.InterpolateCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.InterpolateCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Airflow.Multizone.BaseClasses.Examples.InterpolateCalcHelperMain.o] Error 1