Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009711/0.0009709, allocations: 99.44 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.001296/0.001296, allocations: 178.5 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.529/1.529, allocations: 223.2 MB / 240.6 MB, free: 5.402 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.568/2.568, allocations: 390.5 MB / 0.6662 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 16 kB / 0.8154 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9397/0.9401, allocations: 142.3 MB / 0.9544 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift): time 0.002068/0.9422, allocations: 1.654 MB / 0.956 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002552/0.9447, allocations: 2.282 MB / 0.9583 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.9449, allocations: 1.188 kB / 0.9583 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.9459, allocations: 460.1 kB / 0.9587 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.946, allocations: 52.88 kB / 0.9588 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006503/0.9467, allocations: 209.6 kB / 0.959 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.9471, allocations: 277.2 kB / 0.9592 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.9473, allocations: 76.83 kB / 0.9593 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.9474, allocations: 107.9 kB / 0.9594 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.9475, allocations: 119.5 kB / 0.9595 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.9476, allocations: 3.969 kB / 0.9595 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004363/0.948, allocations: 285.7 kB / 0.9598 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.9481, allocations: 92.84 kB / 0.9599 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.675e-05/0.9482, allocations: 119.7 kB / 0.96 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005977/0.9489, allocations: 0.593 MB / 0.9606 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.9489, allocations: 0 / 0.9606 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9489, allocations: 0 / 0.9606 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.416e-06/0.9489, allocations: 0 / 0.9606 GB, free: 3.613 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0009288/0.9498, allocations: 0.7724 MB / 0.9613 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.9499, allocations: 9.031 kB / 0.9613 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.636e-05/0.95, allocations: 63.55 kB / 0.9614 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003487/0.9503, allocations: 332.8 kB / 0.9617 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.9504, allocations: 7.625 kB / 0.9617 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.9504, allocations: 10.66 kB / 0.9617 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.9506, allocations: 127.4 kB / 0.9619 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.9507, allocations: 0 / 0.9619 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.9507, allocations: 5.562 kB / 0.9619 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.9507, allocations: 1.5 kB / 0.9619 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.9509, allocations: 102.8 kB / 0.962 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.9516, allocations: 0.5415 MB / 0.9625 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.9518, allocations: 101.3 kB / 0.9626 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.402e-05/0.9519, allocations: 69.75 kB / 0.9627 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.952, allocations: 4.781 kB / 0.9627 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/0.9522, allocations: 128.9 kB / 0.9628 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 2.585e-06/0.9522, allocations: 0 / 0.9628 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004874/0.9527, allocations: 303.9 kB / 0.9631 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.9527, allocations: 79.89 kB / 0.9631 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009393/0.9537, allocations: 0.7627 MB / 0.9639 GB, free: 1.105 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.9537, allocations: 31.2 kB / 0.9639 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.9539, allocations: 272 kB / 0.9642 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.954, allocations: 24.55 kB / 0.9642 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.954, allocations: 1.219 kB / 0.9642 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.9541, allocations: 315.2 kB / 0.9645 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.597e-05/0.9541, allocations: 47.56 kB / 0.9646 GB, free: 496 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.19e-05/0.9542, allocations: 48.42 kB / 0.9646 GB, free: 476 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.096e-05/0.9543, allocations: 81.62 kB / 0.9647 GB, free: 416 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9543, allocations: 4 kB / 0.9647 GB, free: 412 kB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003068/0.9546, allocations: 256.6 kB / 0.9649 GB, free: 268 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.9547, allocations: 38 kB / 0.965 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.9547, allocations: 4.062 kB / 0.965 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.9547, allocations: 0 / 0.965 GB, free: 228 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.9548, allocations: 15.08 kB / 0.965 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.9548, allocations: 3.938 kB / 0.965 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.9549, allocations: 16 kB / 0.965 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.955, allocations: 7.875 kB / 0.965 GB, free: 204 kB / 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: 9 ($whenCondition1,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * 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.0003381/0.9553, allocations: 339.6 kB / 0.9653 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.349e-05/0.9554, allocations: 64.77 kB / 0.9654 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004796/0.9559, allocations: 289.6 kB / 0.9657 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.9559, allocations: 0 / 0.9657 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.9559, allocations: 1.312 kB / 0.9657 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.9559, allocations: 0 / 0.9657 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.9564, allocations: 377 kB / 0.966 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9564, allocations: 0 / 0.966 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.102e-05/0.9564, allocations: 9.906 kB / 0.966 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.9564, allocations: 0.8438 kB / 0.966 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.9565, allocations: 10.91 kB / 0.966 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.9565, allocations: 1.031 kB / 0.966 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9565, allocations: 0 / 0.966 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.9569, allocations: 304.2 kB / 0.9663 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.9571, allocations: 145.7 kB / 0.9665 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.9571, allocations: 2.625 kB / 0.9665 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.9572, allocations: 10 kB / 0.9665 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.9573, allocations: 10.17 kB / 0.9665 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.9573, allocations: 4.656 kB / 0.9665 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007531/0.9581, allocations: 0.5592 MB / 0.9671 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9581, allocations: 0 / 0.9671 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005851/0.9587, allocations: 125 kB / 0.9672 GB, free: 14.72 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0004296/0.9591, allocations: 189.7 kB / 0.9674 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003272/0.9594, allocations: 199.2 kB / 0.9675 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9594, allocations: 4 kB / 0.9675 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/0.9596, allocations: 153.3 kB / 0.9677 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005309/0.9602, allocations: 100.5 kB / 0.9678 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.9619, allocations: 1.151 MB / 0.9689 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006307/0.9625, allocations: 0.9612 MB / 0.9698 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.9626, allocations: 15.66 kB / 0.9699 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.9626, allocations: 3.938 kB / 0.9699 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.01066/0.9733, allocations: 6.244 MB / 0.976 GB, free: 9.555 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.makefile make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShift.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.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShiftCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShiftCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SpeedShiftCalcHelperMain.o] Error 1