Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0008702/0.00087, allocations: 99.2 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.0009335/0.0009336, allocations: 175.3 kB / 16.58 MB, free: 6.418 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.532/1.532, allocations: 223.3 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.128/1.128, allocations: 143.4 MB / 435.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.00035, allocations: 8 kB / 0.5166 GB, free: 11.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2089, allocations: 83.41 MB / 0.5981 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.003421/0.2124, allocations: 2.51 MB / 0.6005 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2141, allocations: 0.8499 MB / 0.6013 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.2144, allocations: 15.88 kB / 0.6014 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.2146, allocations: 43.58 kB / 0.6014 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.2148, allocations: 71.41 kB / 0.6015 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.2153, allocations: 151.4 kB / 0.6016 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004315/0.2157, allocations: 439.2 kB / 0.602 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002932/0.216, allocations: 145 kB / 0.6022 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001739/0.2162, allocations: 127.3 kB / 0.6023 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.2164, allocations: 131.2 kB / 0.6024 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.632e-05/0.2164, allocations: 12 kB / 0.6024 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.302e-05/0.2165, allocations: 8 kB / 0.6024 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.075e-05/0.2165, allocations: 47.72 kB / 0.6025 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.2166, allocations: 97.45 kB / 0.6026 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.217, allocations: 403.2 kB / 0.603 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.217, allocations: 0 / 0.603 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.217, allocations: 0 / 0.603 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.217, allocations: 0 / 0.603 GB, free: 2.789 MB / 0.4981 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.001016/0.218, allocations: 0.6505 MB / 0.6036 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.2181, allocations: 8.031 kB / 0.6036 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.541e-05/0.2182, allocations: 47.44 kB / 0.6036 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005541/0.2187, allocations: 383.3 kB / 0.604 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/0.2188, allocations: 24.66 kB / 0.604 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.167e-05/0.2188, allocations: 32 kB / 0.6041 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/0.2194, allocations: 337.1 kB / 0.6044 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.2195, allocations: 7.984 kB / 0.6044 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.2195, allocations: 12 kB / 0.6044 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.2195, allocations: 8 kB / 0.6044 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.22, allocations: 214.1 kB / 0.6046 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4942/0.7142, allocations: 1.189 MB / 0.6058 GB, free: 40.21 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.715, allocations: 230.2 kB / 0.606 GB, free: 40.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.7152, allocations: 115.7 kB / 0.6061 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.7152, allocations: 4.938 kB / 0.6061 GB, free: 40.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.7152, allocations: 35.86 kB / 0.6061 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 2.214e-06/0.7153, allocations: 1.312 kB / 0.6061 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0006848/0.7159, allocations: 300.3 kB / 0.6064 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.716, allocations: 106.7 kB / 0.6065 GB, free: 39.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00033/0.7164, allocations: 336.6 kB / 0.6069 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.7164, allocations: 37.47 kB / 0.6069 GB, free: 39.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.7165, allocations: 226 kB / 0.6071 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.7166, allocations: 72.22 kB / 0.6072 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.7166, allocations: 7.094 kB / 0.6072 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7167, allocations: 346.4 kB / 0.6075 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.7169, allocations: 78.66 kB / 0.6076 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.7171, allocations: 146.2 kB / 0.6077 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.7173, allocations: 91.05 kB / 0.6078 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.7173, allocations: 0 / 0.6078 GB, free: 39.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004596/0.7178, allocations: 283.7 kB / 0.6081 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7178, allocations: 6.031 kB / 0.6081 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.7178, allocations: 2.969 kB / 0.6081 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.7179, allocations: 2.469 kB / 0.6081 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.7181, allocations: 61.39 kB / 0.6082 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7181, allocations: 2.875 kB / 0.6082 GB, free: 39.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.7183, allocations: 40.56 kB / 0.6082 GB, free: 39.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.7183, allocations: 16.08 kB / 0.6082 GB, free: 39.26 MB / 0.4981 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.0001601/0.7185, allocations: 159 kB / 0.6084 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.7186, allocations: 35.5 kB / 0.6084 GB, free: 39.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.718e-05/0.7187, allocations: 35.11 kB / 0.6084 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.7187, allocations: 3.406 kB / 0.6084 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.7187, allocations: 0 / 0.6084 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.7187, allocations: 4.078 kB / 0.6084 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.7191, allocations: 401.1 kB / 0.6088 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7191, allocations: 0 / 0.6088 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.7193, allocations: 49.05 kB / 0.6089 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7193, allocations: 6.344 kB / 0.6089 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.7193, allocations: 5.344 kB / 0.6089 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7193, allocations: 3.875 kB / 0.6089 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.7193, allocations: 0 / 0.6089 GB, free: 38.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005995/0.72, allocations: 428.8 kB / 0.6093 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.7201, allocations: 127.9 kB / 0.6094 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.7201, allocations: 11.08 kB / 0.6094 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.7203, allocations: 18.58 kB / 0.6094 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.7204, allocations: 22.73 kB / 0.6095 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.7204, allocations: 6.531 kB / 0.6095 GB, free: 38.65 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002052/0.7206, allocations: 232.2 kB / 0.6097 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.7206, allocations: 0 / 0.6097 GB, free: 38.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003167/0.7209, allocations: 73.72 kB / 0.6098 GB, free: 38.55 MB / 0.4981 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.0001206/0.7211, allocations: 115.4 kB / 0.6099 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.7215, allocations: 200.1 kB / 0.6101 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.7215, allocations: 7.344 kB / 0.6101 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.7217, allocations: 105.3 kB / 0.6102 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005772/0.7223, allocations: 71.52 kB / 0.6102 GB, free: 38.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.7235, allocations: 0.8614 MB / 0.6111 GB, free: 37.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.7238, allocations: 0.8009 MB / 0.6119 GB, free: 37.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/0.7239, allocations: 29.72 kB / 0.6119 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.7239, allocations: 0 / 0.6119 GB, free: 37.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.006522/0.7304, allocations: 4.187 MB / 0.616 GB, free: 36.99 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisCalcHelperMain.o] Error 1