Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.u_s|con.u_m|con.y",fileNamePrefix="Buildings_9_Buildings.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.0008653/0.0008652, 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.001108/0.001108, 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.581/1.581, allocations: 223.3 MB / 240.6 MB, free: 5.414 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.542/2.542, allocations: 390.4 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004024/0.0004026, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8114/0.8119, allocations: 142.3 MB / 0.9544 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003142/0.8151, allocations: 2.544 MB / 0.9569 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.8167, allocations: 0.8595 MB / 0.9577 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.8169, allocations: 12.16 kB / 0.9577 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.8171, allocations: 40.05 kB / 0.9578 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.8173, allocations: 67.75 kB / 0.9578 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.8178, allocations: 157.2 kB / 0.958 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.8182, allocations: 424.8 kB / 0.9584 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.8186, allocations: 147.9 kB / 0.9585 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.8188, allocations: 123.8 kB / 0.9587 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.8189, allocations: 131.3 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.8e-05/0.819, allocations: 12.22 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.715e-05/0.819, allocations: 10.88 kB / 0.9588 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.8191, allocations: 50.53 kB / 0.9589 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.8191, allocations: 94.86 kB / 0.9589 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.8194, allocations: 376.8 kB / 0.9593 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.367e-06/0.8195, allocations: 8 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.963e-06/0.8195, allocations: 1.312 kB / 0.9593 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.8195, allocations: 0 / 0.9593 GB, free: 4.344 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009359/0.8204, allocations: 0.6515 MB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.8205, allocations: 8.688 kB / 0.96 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.8206, allocations: 50.8 kB / 0.96 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005079/0.8211, allocations: 379.4 kB / 0.9604 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.8211, allocations: 24.34 kB / 0.9604 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.8212, allocations: 31.78 kB / 0.9604 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.8218, allocations: 329.8 kB / 0.9607 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.8218, allocations: 8.672 kB / 0.9607 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.8218, allocations: 14.81 kB / 0.9608 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/0.8219, allocations: 15.19 kB / 0.9608 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.8223, allocations: 218.2 kB / 0.961 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.8237, allocations: 1.189 MB / 0.9621 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005733/0.8243, allocations: 232.4 kB / 0.9624 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.8245, allocations: 122.3 kB / 0.9625 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.8246, allocations: 2.688 kB / 0.9625 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.8246, allocations: 40.7 kB / 0.9625 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.8246, allocations: 0 / 0.9625 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22): time 0.000714/0.8253, allocations: 299.1 kB / 0.9628 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.8254, allocations: 109.3 kB / 0.9629 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.8258, allocations: 333 kB / 0.9632 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.8258, allocations: 31.89 kB / 0.9633 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.8259, allocations: 217.7 kB / 0.9635 GB, free: 1 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.826, allocations: 83.7 kB / 0.9635 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.303e-05/0.826, allocations: 5.281 kB / 0.9636 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.8261, allocations: 347 kB / 0.9639 GB, free: 0.582 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.8263, allocations: 83.64 kB / 0.964 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002028/0.8265, allocations: 141.6 kB / 0.9641 GB, free: 432 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.8267, allocations: 103.2 kB / 0.9642 GB, free: 376 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.8267, allocations: 0 / 0.9642 GB, free: 376 kB / 0.7169 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000509/0.8272, allocations: 279 kB / 0.9645 GB, free: 224 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.8273, allocations: 5.625 kB / 0.9645 GB, free: 224 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.8273, allocations: 5.453 kB / 0.9645 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.8273, allocations: 2.938 kB / 0.9645 GB, free: 220 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.8275, allocations: 53.38 kB / 0.9645 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.8276, allocations: 3.781 kB / 0.9645 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.8278, allocations: 46.25 kB / 0.9646 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.8278, allocations: 11.12 kB / 0.9646 GB, free: 176 kB / 0.7169 GB 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.0001557/0.828, allocations: 158.2 kB / 0.9647 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.942e-05/0.828, allocations: 31.44 kB / 0.9648 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001263/0.8281, allocations: 36.03 kB / 0.9648 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.8282, allocations: 6.328 kB / 0.9648 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.8282, allocations: 9.078 kB / 0.9648 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.8282, allocations: 3.984 kB / 0.9648 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004902/0.8287, allocations: 387.9 kB / 0.9652 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8287, allocations: 3.984 kB / 0.9652 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.8289, allocations: 45.42 kB / 0.9652 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.8289, allocations: 1.25 kB / 0.9652 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.829, allocations: 9.125 kB / 0.9652 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.829, allocations: 5.031 kB / 0.9653 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.829, allocations: 7.938 kB / 0.9653 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007339/0.8297, allocations: 428.6 kB / 0.9657 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.8299, allocations: 131 kB / 0.9658 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.8299, allocations: 6.656 kB / 0.9658 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.8301, allocations: 27.25 kB / 0.9658 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.8302, allocations: 23.08 kB / 0.9658 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.8302, allocations: 4.156 kB / 0.9659 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002848/0.8305, allocations: 235.3 kB / 0.9661 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8305, allocations: 0 / 0.9661 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003649/0.8309, allocations: 65.56 kB / 0.9661 GB, free: 14.98 MB / 0.7325 GB 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.0001698/0.831, allocations: 108.8 kB / 0.9662 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004921/0.8315, allocations: 202.8 kB / 0.9664 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8316, allocations: 0 / 0.9664 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002185/0.8318, allocations: 99.09 kB / 0.9665 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.8324, allocations: 76.47 kB / 0.9666 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.8339, allocations: 0.8766 MB / 0.9675 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.8343, allocations: 0.7903 MB / 0.9682 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.8345, allocations: 30.95 kB / 0.9683 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.8345, allocations: 0 / 0.9683 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.009092/0.8436, allocations: 4.181 MB / 0.9723 GB, free: 11.15 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile make -j1 -f Buildings_9_Buildings.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 OMCppBuildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.o OMCppBuildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Obsolete.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.o] Error 1