Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.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.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") translateModel(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, 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.001602/0.001602, allocations: 174.9 kB / 16.58 MB, free: 6.402 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.548/1.548, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.141/1.141, allocations: 143.4 MB / 435.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 8 kB / 0.5166 GB, free: 11.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2037, allocations: 83.42 MB / 0.598 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled): time 0.0039/0.2077, allocations: 2.736 MB / 0.6007 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004068/0.2118, allocations: 2.376 MB / 0.603 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002441/0.212, allocations: 11.94 kB / 0.603 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.2125, allocations: 79.47 kB / 0.6031 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004739/0.2129, allocations: 151.1 kB / 0.6033 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000996/0.214, allocations: 375.3 kB / 0.6036 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008034/0.2148, allocations: 0.7132 MB / 0.6043 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000448/0.2152, allocations: 260.7 kB / 0.6046 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.2156, allocations: 255.1 kB / 0.6048 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005287/0.2161, allocations: 314.8 kB / 0.6051 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.983e-05/0.2162, allocations: 32 kB / 0.6051 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005268/0.2167, allocations: 287.6 kB / 0.6054 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.217, allocations: 175.4 kB / 0.6056 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.4358/0.6527, allocations: 145.9 kB / 0.6057 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.6544, allocations: 0.8283 MB / 0.6065 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/0.6544, allocations: 0 / 0.6065 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.297e-06/0.6544, allocations: 2.75 kB / 0.6065 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.258e-05/0.6545, allocations: 0 / 0.6065 GB, free: 36.27 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.001788/0.6563, allocations: 0.9587 MB / 0.6075 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.6563, allocations: 11.16 kB / 0.6075 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002468/0.6566, allocations: 86.88 kB / 0.6076 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.6572, allocations: 477 kB / 0.608 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/0.6574, allocations: 91.22 kB / 0.6081 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6575, allocations: 58.92 kB / 0.6082 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.659, allocations: 0.7945 MB / 0.6089 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.659, allocations: 0.75 kB / 0.6089 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.068e-05/0.6591, allocations: 26.56 kB / 0.609 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.6591, allocations: 12.22 kB / 0.609 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001675/0.6608, allocations: 0.7982 MB / 0.6098 GB, free: 35.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/0.6645, allocations: 2.736 MB / 0.6124 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001474/0.666, allocations: 0.701 MB / 0.6131 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008709/0.6669, allocations: 435.7 kB / 0.6135 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004931/0.6674, allocations: 0.5192 MB / 0.614 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.6675, allocations: 42.34 kB / 0.6141 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=62): time 2.224e-06/0.6675, allocations: 0 / 0.6141 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=62): time 0.007517/0.675, allocations: 2.277 MB / 0.6163 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.6751, allocations: 134.6 kB / 0.6164 GB, free: 32.95 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005538/0.6757, allocations: 471.6 kB / 0.6169 GB, free: 32.83 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.6757, allocations: 38.17 kB / 0.6169 GB, free: 32.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.6759, allocations: 314.2 kB / 0.6172 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.676, allocations: 199.8 kB / 0.6174 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.858e-05/0.6761, allocations: 11.38 kB / 0.6174 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/0.6762, allocations: 372 kB / 0.6178 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.6768, allocations: 304.5 kB / 0.6181 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.6774, allocations: 399.7 kB / 0.6184 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/0.6781, allocations: 373.6 kB / 0.6188 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.6781, allocations: 2.719 kB / 0.6188 GB, free: 32.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003645/0.6818, allocations: 1.364 MB / 0.6201 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.6818, allocations: 62.47 kB / 0.6202 GB, free: 31.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003466/0.6853, allocations: 1.309 MB / 0.6215 GB, free: 31.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008543/0.6862, allocations: 336.1 kB / 0.6218 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.6867, allocations: 115 kB / 0.6219 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006365/0.693, allocations: 2.834 MB / 0.6247 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/0.6938, allocations: 69.09 kB / 0.6247 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.6938, allocations: 33.03 kB / 0.6248 GB, free: 30.33 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: PI1.x:VARIABLE(start = PI1.x_start fixed = true ) "State of block" type: Real R3C2_1.Ts.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real R3C2_1.Tint.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))) start = 288.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of the element" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005752/0.6944, allocations: 299 kB / 0.6251 GB, free: 30.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.6945, allocations: 59.47 kB / 0.6251 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/0.6985, allocations: 1.392 MB / 0.6265 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.6985, allocations: 6.812 kB / 0.6265 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.6985, allocations: 0 / 0.6265 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.6985, allocations: 7.734 kB / 0.6265 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009974/0.6995, allocations: 0.7585 MB / 0.6272 GB, free: 29.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.003547/0.7031, allocations: 1.266 MB / 0.6285 GB, free: 29.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004325/0.7035, allocations: 101.2 kB / 0.6286 GB, free: 29.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007227/0.7043, allocations: 326.6 kB / 0.6289 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.131e-05/0.7044, allocations: 23.36 kB / 0.6289 GB, free: 29.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006138/0.7105, allocations: 2.822 MB / 0.6316 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7105, allocations: 3.281 kB / 0.6316 GB, free: 27.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004886/0.7154, allocations: 1.916 MB / 0.6335 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.7159, allocations: 232.5 kB / 0.6337 GB, free: 26.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001421/0.716, allocations: 13.25 kB / 0.6338 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.7165, allocations: 36.31 kB / 0.6338 GB, free: 26.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002008/0.7167, allocations: 70.36 kB / 0.6339 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.958e-05/0.7168, allocations: 20.55 kB / 0.6339 GB, free: 26.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004445/0.7172, allocations: 333.4 kB / 0.6342 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7172, allocations: 0 / 0.6342 GB, free: 26.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009525/0.7182, allocations: 222.1 kB / 0.6344 GB, free: 26.52 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (R3C2_1.Tint.T,R3C2_1.Ts.T,PI1.x) * Number of discrete variables: 6 (meteofile.t0,meteofile.h0,meteofile.d0,meteofile.CoupleFlux,meteofile.latitude,meteofile.longitude) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001378/0.7196, allocations: 0.5141 MB / 0.6349 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002462/0.7221, allocations: 1.135 MB / 0.636 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7221, allocations: 3.938 kB / 0.636 GB, free: 25.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.7235, allocations: 0.6953 MB / 0.6367 GB, free: 25.44 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006548/0.7242, allocations: 86.62 kB / 0.6368 GB, free: 25.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.7277, allocations: 1.847 MB / 0.6386 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.7283, allocations: 0.9333 MB / 0.6395 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.7286, allocations: 60.02 kB / 0.6396 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of SimCode: time 9.42e-07/0.7286, allocations: 0 / 0.6396 GB, free: 23.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.03324/0.7619, allocations: 12.62 MB / 0.6519 GB, free: 22.4 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.makefile make -j1 -f BuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlled.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlledCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlledCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.BuildingStock.RnCm.Examples.R3C2_PIControlledCalcHelperMain.o] Error 1