Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009092/0.0009095, allocations: 93.48 kB / 16.33 MB, free: 6.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009846/0.0009848, allocations: 187.5 kB / 17.22 MB, free: 6.652 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.502/1.502, allocations: 223.2 MB / 241.2 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7217/0.7217, allocations: 114.3 MB / 406.7 MB, free: 8.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 8 kB / 494.5 MB, free: 1.445 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5331, allocations: 77.25 MB / 0.5583 GB, free: 35.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003128/0.5362, allocations: 2.513 MB / 0.5608 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001481/0.5377, allocations: 0.8478 MB / 0.5616 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002151/0.538, allocations: 14.19 kB / 0.5616 GB, free: 33.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.5382, allocations: 44.38 kB / 0.5616 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.5383, allocations: 63.81 kB / 0.5617 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004615/0.5388, allocations: 160.8 kB / 0.5619 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000475/0.5393, allocations: 430.1 kB / 0.5623 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.5396, allocations: 143.5 kB / 0.5624 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.5398, allocations: 130.9 kB / 0.5625 GB, free: 33.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.54, allocations: 128.5 kB / 0.5626 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.767e-05/0.54, allocations: 10.25 kB / 0.5627 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.911e-05/0.5401, allocations: 12.47 kB / 0.5627 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.088e-05/0.5401, allocations: 52.59 kB / 0.5627 GB, free: 33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.359e-05/0.5402, allocations: 89.2 kB / 0.5628 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004572/0.5407, allocations: 385.8 kB / 0.5632 GB, free: 32.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.305e-06/0.5407, allocations: 0 / 0.5632 GB, free: 32.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5407, allocations: 1 kB / 0.5632 GB, free: 32.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.5407, allocations: 0 / 0.5632 GB, free: 32.84 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001208/0.5419, allocations: 0.6508 MB / 0.5638 GB, free: 32.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.542, allocations: 13.83 kB / 0.5638 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/0.5421, allocations: 52.86 kB / 0.5639 GB, free: 32.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/0.5426, allocations: 378.7 kB / 0.5642 GB, free: 31.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/0.5427, allocations: 25.25 kB / 0.5643 GB, free: 31.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.5428, allocations: 31.91 kB / 0.5643 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.5434, allocations: 332 kB / 0.5646 GB, free: 31.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5434, allocations: 9.359 kB / 0.5646 GB, free: 31.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.5434, allocations: 10.97 kB / 0.5646 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.5435, allocations: 9.391 kB / 0.5646 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004894/0.544, allocations: 214.5 kB / 0.5648 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.5456, allocations: 1.195 MB / 0.566 GB, free: 30.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.5463, allocations: 234.8 kB / 0.5662 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/0.5465, allocations: 116.4 kB / 0.5663 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.5466, allocations: 1.906 kB / 0.5663 GB, free: 30.67 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.5466, allocations: 38.19 kB / 0.5664 GB, free: 30.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.5466, allocations: 0 / 0.5664 GB, free: 30.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007085/0.5473, allocations: 305 kB / 0.5667 GB, free: 30.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.5474, allocations: 106.4 kB / 0.5668 GB, free: 30.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004085/0.5478, allocations: 334.4 kB / 0.5671 GB, free: 30.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.5478, allocations: 31.7 kB / 0.5671 GB, free: 30.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.548, allocations: 226.8 kB / 0.5673 GB, free: 29.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.75e-05/0.5481, allocations: 75.94 kB / 0.5674 GB, free: 29.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.5481, allocations: 5.875 kB / 0.5674 GB, free: 29.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.5482, allocations: 341.7 kB / 0.5677 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.5484, allocations: 82.27 kB / 0.5678 GB, free: 29.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.5487, allocations: 146.8 kB / 0.568 GB, free: 29.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002048/0.5489, allocations: 95.2 kB / 0.568 GB, free: 29.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5489, allocations: 2.688 kB / 0.568 GB, free: 29.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005286/0.5494, allocations: 287.6 kB / 0.5683 GB, free: 29.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.5495, allocations: 6.25 kB / 0.5683 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.5495, allocations: 2.875 kB / 0.5683 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.5495, allocations: 2.438 kB / 0.5683 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.5497, allocations: 57.42 kB / 0.5684 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5498, allocations: 3.938 kB / 0.5684 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.55, allocations: 40.55 kB / 0.5684 GB, free: 29.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.55, allocations: 9.359 kB / 0.5684 GB, free: 29.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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 prepare postOptimizeDAE: time 0.0001535/0.5501, allocations: 160.5 kB / 0.5686 GB, free: 29.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.5502, allocations: 34.95 kB / 0.5686 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.091e-05/0.5503, allocations: 47.92 kB / 0.5687 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5503, allocations: 4.5 kB / 0.5687 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.5503, allocations: 0 / 0.5687 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.5503, allocations: 1.453 kB / 0.5687 GB, free: 29.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.5508, allocations: 391.3 kB / 0.5691 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5509, allocations: 0.6562 kB / 0.5691 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002269/0.5511, allocations: 44.05 kB / 0.5691 GB, free: 28.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.5511, allocations: 5.859 kB / 0.5691 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.5511, allocations: 5.516 kB / 0.5691 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5511, allocations: 3.406 kB / 0.5691 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.5512, allocations: 0.9062 kB / 0.5691 GB, free: 28.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.5519, allocations: 428.4 kB / 0.5695 GB, free: 28.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.552, allocations: 130.7 kB / 0.5696 GB, free: 28.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.5521, allocations: 11.94 kB / 0.5697 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.5523, allocations: 24.11 kB / 0.5697 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.5523, allocations: 15.89 kB / 0.5697 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.5524, allocations: 9.375 kB / 0.5697 GB, free: 28.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002721/0.5526, allocations: 234.3 kB / 0.5699 GB, free: 28.24 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5526, allocations: 2.312 kB / 0.5699 GB, free: 28.24 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003463/0.553, allocations: 69.62 kB / 0.57 GB, free: 28.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.0001148/0.5531, allocations: 108.2 kB / 0.5701 GB, free: 28.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005041/0.5536, allocations: 204.5 kB / 0.5703 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5536, allocations: 0 / 0.5703 GB, free: 28.06 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.5539, allocations: 103.8 kB / 0.5704 GB, free: 28.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.5545, allocations: 73.83 kB / 0.5705 GB, free: 28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001481/0.556, allocations: 0.8653 MB / 0.5713 GB, free: 27.48 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.5563, allocations: 0.7908 MB / 0.5721 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.885e-05/0.5564, allocations: 28.06 kB / 0.5721 GB, free: 26.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5564, allocations: 0 / 0.5721 GB, free: 26.77 MB / 446.1 MB Notification: Performance of Templates: time 0.01033/0.5667, allocations: 4.191 MB / 0.5762 GB, free: 26.36 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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 OMCppIBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.o] Error 1