Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.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.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009337, allocations: 98.88 kB / 16.02 MB, free: 72 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.0009832/0.0009833, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.363/1.363, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001667, allocations: 263.1 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9481/0.9481, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004463, allocations: 18.09 kB / 0.5993 GB, free: 28.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1912, allocations: 88.55 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPID): time 0.00529/0.1965, allocations: 3.316 MB / 0.689 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003985/0.2006, allocations: 1.27 MB / 0.6902 GB, free: 10.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.2017, allocations: 27.88 kB / 0.6903 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.2022, allocations: 96.44 kB / 0.6904 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.2033, allocations: 148.8 kB / 0.6905 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.2048, allocations: 0.524 MB / 0.691 GB, free: 9.719 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.2063, allocations: 0.8988 MB / 0.6919 GB, free: 8.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006889/0.207, allocations: 340.9 kB / 0.6922 GB, free: 8.488 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.2075, allocations: 278.3 kB / 0.6925 GB, free: 8.215 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004733/0.208, allocations: 274.8 kB / 0.6927 GB, free: 7.945 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.2082, allocations: 24 kB / 0.6928 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.746e-05/0.2083, allocations: 24 kB / 0.6928 GB, free: 7.898 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2084, allocations: 119.3 kB / 0.6929 GB, free: 7.781 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.2087, allocations: 319.5 kB / 0.6932 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.2094, allocations: 0.6118 MB / 0.6938 GB, free: 6.848 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2094, allocations: 0 / 0.6938 GB, free: 6.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2094, allocations: 0 / 0.6938 GB, free: 6.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.766e-05/0.2094, allocations: 0 / 0.6938 GB, free: 6.848 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002244/0.2117, allocations: 1.067 MB / 0.6948 GB, free: 5.727 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.2117, allocations: 8.031 kB / 0.6949 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002776/0.212, allocations: 95.81 kB / 0.6949 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.2132, allocations: 0.6025 MB / 0.6955 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001232/0.2133, allocations: 96.97 kB / 0.6956 GB, free: 4.867 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.2134, allocations: 56.38 kB / 0.6957 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.2147, allocations: 0.6158 MB / 0.6963 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2148, allocations: 0 / 0.6963 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.2148, allocations: 20 kB / 0.6963 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.2148, allocations: 16 kB / 0.6963 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.2159, allocations: 447.6 kB / 0.6967 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00324/0.2192, allocations: 2.133 MB / 0.6988 GB, free: 1.469 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.2205, allocations: 0.5204 MB / 0.6993 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.221, allocations: 220.8 kB / 0.6995 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/0.221, allocations: 11.98 kB / 0.6996 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007065/0.2217, allocations: 294.1 kB / 0.6998 GB, free: 416 kB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 1.984e-06/0.2217, allocations: 0 / 0.6998 GB, free: 416 kB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.001597/0.2234, allocations: 0.6452 MB / 0.7005 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.2234, allocations: 84.86 kB / 0.7005 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.2243, allocations: 0.6138 MB / 0.7011 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.378e-05/0.2243, allocations: 37.7 kB / 0.7012 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.2246, allocations: 356.8 kB / 0.7015 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.2248, allocations: 157.7 kB / 0.7017 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/0.2248, allocations: 53.69 kB / 0.7017 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.225, allocations: 322 kB / 0.702 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004621/0.2255, allocations: 185 kB / 0.7022 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.226, allocations: 289.3 kB / 0.7025 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.227, allocations: 493.9 kB / 0.703 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.227, allocations: 3.938 kB / 0.703 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001316/0.2284, allocations: 0.6217 MB / 0.7036 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.2285, allocations: 187 kB / 0.7037 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.2286, allocations: 4 kB / 0.7038 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.2286, allocations: 7.938 kB / 0.7038 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.2291, allocations: 119.9 kB / 0.7039 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.2291, allocations: 11.94 kB / 0.7039 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.2296, allocations: 71.34 kB / 0.704 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.2296, allocations: 20 kB / 0.704 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2296, allocations: 11.92 kB / 0.704 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001046/0.2307, allocations: 0.5039 MB / 0.7045 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.2307, allocations: 7.984 kB / 0.7045 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.2307, allocations: 4 kB / 0.7045 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.2311, allocations: 103.9 kB / 0.7046 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.2312, allocations: 11.88 kB / 0.7046 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.2316, allocations: 63.5 kB / 0.7047 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.2316, allocations: 20.12 kB / 0.7047 GB, free: 11.25 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003611/0.232, allocations: 275.5 kB / 0.7049 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.2321, allocations: 75.09 kB / 0.705 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.2323, allocations: 83.2 kB / 0.7051 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2323, allocations: 4 kB / 0.7051 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2323, allocations: 0 / 0.7051 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.2324, allocations: 0 / 0.7051 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.2331, allocations: 0.6218 MB / 0.7057 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.2331, allocations: 11.94 kB / 0.7057 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.2336, allocations: 83.89 kB / 0.7058 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.2336, allocations: 4 kB / 0.7058 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.2337, allocations: 4 kB / 0.7058 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.2337, allocations: 7.984 kB / 0.7058 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.2337, allocations: 0 / 0.7058 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/0.2353, allocations: 0.7524 MB / 0.7065 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.2355, allocations: 196 kB / 0.7067 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.511e-05/0.2356, allocations: 12 kB / 0.7067 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004253/0.2361, allocations: 43.97 kB / 0.7068 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.2362, allocations: 35.89 kB / 0.7068 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/0.2362, allocations: 15.98 kB / 0.7068 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000558/0.2368, allocations: 431 kB / 0.7072 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2368, allocations: 4 kB / 0.7072 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006399/0.2374, allocations: 211.3 kB / 0.7074 GB, free: 8.32 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001513/0.2376, allocations: 115.3 kB / 0.7076 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001727/0.2393, allocations: 0.8203 MB / 0.7084 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2393, allocations: 0 / 0.7084 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004942/0.2398, allocations: 215.8 kB / 0.7086 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009483/0.2408, allocations: 193.3 kB / 0.7087 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.2433, allocations: 1.501 MB / 0.7102 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.2438, allocations: 0.9221 MB / 0.7111 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.244, allocations: 47.44 kB / 0.7112 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of SimCode: time 1.001e-06/0.244, allocations: 4 kB / 0.7112 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of Templates: time 0.0152/0.2592, allocations: 8.537 MB / 0.7195 GB, free: 11.92 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.makefile make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPID.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1