Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.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.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled") translateModel(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=900,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 101.3 kB / 15.71 MB, free: 456 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.001494/0.001494, allocations: 175.9 kB / 16.58 MB, free: 6.863 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.549/1.549, allocations: 223.2 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.065/1.065, allocations: 143.4 MB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 8 kB / 0.5166 GB, free: 11.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2302, allocations: 83.41 MB / 0.598 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled): time 0.002648/0.2329, allocations: 1.831 MB / 0.5998 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2343, allocations: 0.6939 MB / 0.6005 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.2345, allocations: 7.938 kB / 0.6005 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.2347, allocations: 27.73 kB / 0.6005 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.2348, allocations: 35.72 kB / 0.6006 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004431/0.2352, allocations: 119.3 kB / 0.6007 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.2355, allocations: 228 kB / 0.6009 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.2358, allocations: 78.27 kB / 0.601 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.785e-05/0.2359, allocations: 75.52 kB / 0.6011 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.236, allocations: 71.5 kB / 0.6011 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.2361, allocations: 4 kB / 0.6011 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.395e-05/0.2361, allocations: 8 kB / 0.6011 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.2361, allocations: 19.86 kB / 0.6012 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.2362, allocations: 65.52 kB / 0.6012 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002047/0.2364, allocations: 179.8 kB / 0.6014 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.2364, allocations: 0 / 0.6014 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.205e-06/0.2364, allocations: 0 / 0.6014 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.2364, allocations: 0 / 0.6014 GB, free: 4.375 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0008428/0.2373, allocations: 0.51 MB / 0.6019 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.2373, allocations: 8.031 kB / 0.6019 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.735e-05/0.2374, allocations: 35.56 kB / 0.6019 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.2378, allocations: 278.3 kB / 0.6022 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.2378, allocations: 16 kB / 0.6022 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.052e-05/0.2379, allocations: 19.94 kB / 0.6022 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003929/0.2383, allocations: 206.2 kB / 0.6024 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2383, allocations: 4 kB / 0.6024 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.2383, allocations: 4 kB / 0.6024 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.2383, allocations: 4 kB / 0.6024 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002797/0.2386, allocations: 144.9 kB / 0.6026 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.2397, allocations: 0.7869 MB / 0.6033 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.2401, allocations: 182.6 kB / 0.6035 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.2403, allocations: 60.84 kB / 0.6036 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.967e-05/0.2403, allocations: 4 kB / 0.6036 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.2403, allocations: 34.55 kB / 0.6036 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.805e-06/0.2403, allocations: 0 / 0.6036 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0004972/0.2408, allocations: 229.2 kB / 0.6038 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.2409, allocations: 77.11 kB / 0.6039 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.2412, allocations: 250.7 kB / 0.6041 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.2412, allocations: 25.7 kB / 0.6042 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.2414, allocations: 172 kB / 0.6043 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.2414, allocations: 55.42 kB / 0.6044 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.2414, allocations: 4 kB / 0.6044 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.2416, allocations: 330.8 kB / 0.6047 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.2417, allocations: 47.98 kB / 0.6048 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/0.2419, allocations: 92.27 kB / 0.6048 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.242, allocations: 59.22 kB / 0.6049 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.242, allocations: 0 / 0.6049 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003427/0.2424, allocations: 205.2 kB / 0.6051 GB, free: 344 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-05/0.2425, allocations: 117.5 kB / 0.6052 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.2425, allocations: 4 kB / 0.6052 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2425, allocations: 0 / 0.6052 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.2427, allocations: 35.92 kB / 0.6052 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.2427, allocations: 0 / 0.6052 GB, free: 172 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.2428, allocations: 27.83 kB / 0.6053 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.2429, allocations: 4 kB / 0.6053 GB, free: 140 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.135e-06/0.2429, allocations: 8 kB / 0.6053 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001812/0.2431, allocations: 111.9 kB / 0.6054 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.2431, allocations: 0 / 0.6054 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.687e-06/0.2431, allocations: 3.984 kB / 0.6054 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.4506/0.6937, allocations: 27.8 kB / 0.6054 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.6937, allocations: 0 / 0.6054 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.694, allocations: 14.2 kB / 0.6054 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.694, allocations: 6.688 kB / 0.6054 GB, free: 40.48 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: firstOrder.y:VARIABLE(flow=false start = firstOrder.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real PI1.I.y:VARIABLE(flow=false start = PI1.I.y_start fixed = true protected = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (PI1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0004549/0.6945, allocations: 219.1 kB / 0.6056 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/0.6945, allocations: 29.27 kB / 0.6057 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.434e-05/0.6946, allocations: 28.2 kB / 0.6057 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.6947, allocations: 0.7812 kB / 0.6057 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.6947, allocations: 0.8125 kB / 0.6057 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.6947, allocations: 0.8906 kB / 0.6057 GB, free: 40.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008479/0.6955, allocations: 0.5146 MB / 0.6062 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6956, allocations: 5.312 kB / 0.6062 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.6957, allocations: 29.64 kB / 0.6062 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.6957, allocations: 0 / 0.6062 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.6957, allocations: 3.625 kB / 0.6062 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.6958, allocations: 2.906 kB / 0.6062 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6958, allocations: 0 / 0.6062 GB, free: 40 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.6962, allocations: 345.5 kB / 0.6066 GB, free: 39.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.6964, allocations: 115.9 kB / 0.6067 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.432e-05/0.6964, allocations: 3.578 kB / 0.6067 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.6965, allocations: 11.28 kB / 0.6067 GB, free: 39.78 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.6966, allocations: 18.16 kB / 0.6067 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.6966, allocations: 2.938 kB / 0.6067 GB, free: 39.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001557/0.6967, allocations: 172.6 kB / 0.6069 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6967, allocations: 2.969 kB / 0.6069 GB, free: 39.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003951/0.6971, allocations: 62.58 kB / 0.6069 GB, free: 39.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (PI1.I.y,firstOrder.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.000118/0.6973, allocations: 107.8 kB / 0.6071 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.6977, allocations: 198.1 kB / 0.6072 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6977, allocations: 2.188 kB / 0.6072 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.6978, allocations: 68.58 kB / 0.6073 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.6983, allocations: 61.7 kB / 0.6074 GB, free: 39.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009311/0.6993, allocations: 0.5333 MB / 0.6079 GB, free: 39.29 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.6995, allocations: 0.7497 MB / 0.6086 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.6996, allocations: 22.09 kB / 0.6086 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.255e-06/0.6996, allocations: 3.469 kB / 0.6086 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.004875/0.7045, allocations: 2.909 MB / 0.6115 GB, free: 38.45 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.makefile make -j1 -f BuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlled.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.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlledCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.Systems.HVAC.Emission.ElectricHeater.JouleHeatingPIControlledCalcHelperMain.o] Error 1