Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008952, allocations: 102.2 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.001139/0.001138, allocations: 172 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.492/1.492, allocations: 223.3 MB / 240.6 MB, free: 5.402 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.651/2.651, allocations: 390.4 MB / 0.6662 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003547, allocations: 12 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8572/0.8576, allocations: 142.3 MB / 0.9544 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00768/0.8653, allocations: 6.387 MB / 0.9607 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1884/1.054, allocations: 141.5 MB / 1.099 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002079/1.056, allocations: 31.81 kB / 1.099 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005353/1.061, allocations: 1.635 MB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003922/1.065, allocations: 0.9655 MB / 1.101 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00369/1.069, allocations: 1.06 MB / 1.102 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006293/1.075, allocations: 4.724 MB / 1.107 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001703/1.077, allocations: 1.004 MB / 1.108 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002983/1.08, allocations: 1.35 MB / 1.109 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/1.082, allocations: 1.261 MB / 1.111 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002611/1.082, allocations: 68 kB / 1.111 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/1.087, allocations: 2.06 MB / 1.113 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003813/1.091, allocations: 4.237 MB / 1.117 GB, free: 9.438 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0009124/1.092, allocations: 0.5663 MB / 1.117 GB, free: 8.863 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006919/1.098, allocations: 4.704 MB / 1.122 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.099, allocations: 0 / 1.122 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.587e-06/1.099, allocations: 0 / 1.122 GB, free: 4.148 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.807e-05/1.099, allocations: 0 / 1.122 GB, free: 4.148 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.00722/1.106, allocations: 3.514 MB / 1.125 GB, free: 0.5586 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.106, allocations: 8.031 kB / 1.125 GB, free: 0.5508 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/1.107, allocations: 439.4 kB / 1.126 GB, free: 120 kB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01298/1.12, allocations: 12.21 MB / 1.138 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/1.12, allocations: 171.1 kB / 1.138 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003544/1.121, allocations: 236 kB / 1.138 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003576/1.124, allocations: 2.123 MB / 1.14 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/1.124, allocations: 3.938 kB / 1.14 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/1.125, allocations: 72 kB / 1.14 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/1.125, allocations: 36 kB / 1.14 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/1.128, allocations: 2.213 MB / 1.142 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02008/1.148, allocations: 15.17 MB / 1.157 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/1.151, allocations: 1.615 MB / 1.159 GB, free: 14 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/1.152, allocations: 0.9142 MB / 1.16 GB, free: 13.08 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/1.153, allocations: 37.02 kB / 1.16 GB, free: 13.05 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001692/1.154, allocations: 1.108 MB / 1.161 GB, free: 11.92 MB / 0.92 GB Notification: Performance of pre-optimization done (n=138): time 2.955e-06/1.154, allocations: 0 / 1.161 GB, free: 11.92 MB / 0.92 GB Notification: Performance of matching and sorting (n=138): time 0.006135/1.16, allocations: 3.069 MB / 1.164 GB, free: 8.82 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002595/1.161, allocations: 366.5 kB / 1.164 GB, free: 8.41 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03128/1.192, allocations: 20.6 MB / 1.184 GB, free: 3.785 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0007856/1.193, allocations: 81.7 kB / 1.184 GB, free: 3.699 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001607/1.194, allocations: 1.167 MB / 1.186 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006176/1.195, allocations: 465.4 kB / 1.186 GB, free: 2.059 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/1.195, allocations: 64 kB / 1.186 GB, free: 1.996 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002683/1.196, allocations: 457 kB / 1.186 GB, free: 1.543 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01059/1.206, allocations: 12.14 MB / 1.198 GB, free: 5.398 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01244/1.219, allocations: 13.13 MB / 1.211 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/1.232, allocations: 12.66 MB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.232, allocations: 8 kB / 1.224 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=427) (initialization): time 0.0264/1.258, allocations: 26.01 MB / 1.249 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002317/1.258, allocations: 205.6 kB / 1.249 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.489e-05/1.259, allocations: 32 kB / 1.249 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/1.259, allocations: 136.8 kB / 1.249 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002677/1.262, allocations: 0.7135 MB / 1.25 GB, free: 56 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7075/1.969, allocations: 1.564 MB / 1.251 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003221/1.973, allocations: 398 kB / 1.252 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005576/1.973, allocations: 171 kB / 1.252 GB, free: 280.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.tNext,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (396): * Single equations (assignments): 394 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004588/1.978, allocations: 2.532 MB / 1.254 GB, free: 280.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007186/1.978, allocations: 266.6 kB / 1.255 GB, free: 280.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006365/1.985, allocations: 2.982 MB / 1.258 GB, free: 279.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/1.985, allocations: 12.34 kB / 1.258 GB, free: 279.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/1.985, allocations: 1 kB / 1.258 GB, free: 279.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.112e-05/1.985, allocations: 8.75 kB / 1.258 GB, free: 279.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/1.989, allocations: 2.089 MB / 1.26 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/1.989, allocations: 0.5 kB / 1.26 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/1.99, allocations: 217.3 kB / 1.26 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004953/1.991, allocations: 85.58 kB / 1.26 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.991, allocations: 41.2 kB / 1.26 GB, free: 278.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001991/1.993, allocations: 1.54 MB / 1.262 GB, free: 277 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.993, allocations: 0.8438 kB / 1.262 GB, free: 277 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005488/1.998, allocations: 2.821 MB / 1.264 GB, free: 276.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/2, allocations: 0.6263 MB / 1.265 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000283/2, allocations: 29.53 kB / 1.265 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009601/2.001, allocations: 120.1 kB / 1.265 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002766/2.001, allocations: 105.2 kB / 1.265 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001536/2.001, allocations: 70.48 kB / 1.265 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.01463/2.016, allocations: 12.8 MB / 1.278 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.81e-07/2.016, allocations: 0 / 1.278 GB, free: 271.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005329/2.021, allocations: 1.286 MB / 1.279 GB, free: 271.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002684/2.024, allocations: 1.004 MB / 1.28 GB, free: 271.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01152/2.036, allocations: 15.74 MB / 1.295 GB, free: 255.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/2.036, allocations: 0 / 1.295 GB, free: 255.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002845/2.039, allocations: 2.464 MB / 1.298 GB, free: 253.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/2.041, allocations: 431.5 kB / 1.298 GB, free: 252.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01111/2.053, allocations: 8.403 MB / 1.306 GB, free: 244.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/2.054, allocations: 2.033 MB / 1.308 GB, free: 242.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008622/2.055, allocations: 231.3 kB / 1.309 GB, free: 242 MB / 0.9981 GB Notification: Performance of SimCode: time 1.293e-06/2.055, allocations: 0 / 1.309 GB, free: 242 MB / 0.9981 GB Notification: Performance of Templates: time 0.1359/2.191, allocations: 97.42 MB / 1.404 GB, free: 145.6 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromicCalcHelperMain.o OMCppBuildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromicCalcHelperMain.o] Error 1