Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") translateModel(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conWin.TClear|conWin.TDark|conWin.T|conWin.HClear|conWin.HDark|conWin.H|conWin.y",fileNamePrefix="Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009831/0.0009832, 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.0009219/0.0009219, allocations: 181 kB / 16.59 MB, free: 6.129 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.447/1.447, allocations: 223.3 MB / 240.6 MB, free: 5.391 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.633/2.633, allocations: 390.4 MB / 0.6662 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004198/0.0004201, allocations: 11.98 kB / 0.8154 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8815/0.882, allocations: 142.3 MB / 0.9544 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow): time 0.002069/0.8841, allocations: 1.658 MB / 0.956 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008196/0.8849, allocations: 0.6023 MB / 0.9566 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.8851, allocations: 2.188 kB / 0.9566 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.8851, allocations: 15.84 kB / 0.9566 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.8852, allocations: 41.23 kB / 0.9567 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003797/0.8856, allocations: 122.4 kB / 0.9568 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.8859, allocations: 245.5 kB / 0.957 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.8861, allocations: 60.61 kB / 0.9571 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.8862, allocations: 84.36 kB / 0.9572 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.8864, allocations: 97.2 kB / 0.9573 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.224e-05/0.8864, allocations: 10.25 kB / 0.9573 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.481e-05/0.8865, allocations: 13.44 kB / 0.9573 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.8865, allocations: 43.16 kB / 0.9573 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.8866, allocations: 57.45 kB / 0.9574 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.8868, allocations: 176 kB / 0.9575 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.8868, allocations: 5.094 kB / 0.9575 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8868, allocations: 0 / 0.9575 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.8868, allocations: 0 / 0.9575 GB, free: 5.613 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001023/0.8879, allocations: 0.6279 MB / 0.9582 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.8879, allocations: 13.42 kB / 0.9582 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.531e-05/0.888, allocations: 27.39 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.8883, allocations: 257.3 kB / 0.9584 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.025e-05/0.8883, allocations: 9.594 kB / 0.9585 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.299e-05/0.8884, allocations: 13.72 kB / 0.9585 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.889, allocations: 264.3 kB / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.889, allocations: 0 / 0.9587 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.889, allocations: 9.797 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.889, allocations: 3.594 kB / 0.9587 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008143/0.8899, allocations: 274.7 kB / 0.959 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006618/0.8905, allocations: 0.5137 MB / 0.9595 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009165/0.8915, allocations: 316 kB / 0.9598 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.8919, allocations: 142.9 kB / 0.9599 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.081e-05/0.8919, allocations: 2.75 kB / 0.9599 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005438/0.8925, allocations: 217.7 kB / 0.9601 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/0.8925, allocations: 0 / 0.9601 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.001316/0.8938, allocations: 458.6 kB / 0.9606 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.8938, allocations: 54.41 kB / 0.9606 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/0.894, allocations: 218.6 kB / 0.9608 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.8941, allocations: 31.48 kB / 0.9609 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.872e-05/0.8941, allocations: 133.7 kB / 0.961 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.145e-05/0.8942, allocations: 41.45 kB / 0.961 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.8942, allocations: 5 kB / 0.961 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.8943, allocations: 331.8 kB / 0.9614 GB, free: 2.703 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.8947, allocations: 136.4 kB / 0.9615 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004075/0.8951, allocations: 138.3 kB / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.8955, allocations: 186.6 kB / 0.9618 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8955, allocations: 0 / 0.9618 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009253/0.8965, allocations: 412.9 kB / 0.9622 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.382e-05/0.8965, allocations: 152.2 kB / 0.9623 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.8965, allocations: 4 kB / 0.9623 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.8966, allocations: 9.078 kB / 0.9624 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.8968, allocations: 59.94 kB / 0.9624 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.8968, allocations: 1 kB / 0.9624 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.8971, allocations: 64.78 kB / 0.9625 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.8971, allocations: 4.688 kB / 0.9625 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.432e-06/0.8972, allocations: 3.219 kB / 0.9625 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008039/0.898, allocations: 368.6 kB / 0.9628 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-06/0.898, allocations: 0 / 0.9628 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-06/0.898, allocations: 1.094 kB / 0.9628 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.8982, allocations: 57.98 kB / 0.9629 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.8982, allocations: 1.031 kB / 0.9629 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.8984, allocations: 59.28 kB / 0.9629 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.8985, allocations: 8.125 kB / 0.963 GB, free: 1.785 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.TMea.T_start,TMea.T_start,$PRE.TMea.count,TMea.count,$PRE.HMea.T_start,HMea.T_start,$PRE.HMea.count,HMea.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001124/0.8986, allocations: 213.2 kB / 0.9632 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.8986, allocations: 16.44 kB / 0.9632 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.8987, allocations: 22.33 kB / 0.9632 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.8987, allocations: 2.281 kB / 0.9632 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8987, allocations: 4 kB / 0.9632 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.8987, allocations: 3.953 kB / 0.9632 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.8989, allocations: 273.5 kB / 0.9635 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.8989, allocations: 0 / 0.9635 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.8992, allocations: 55.69 kB / 0.9635 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.8992, allocations: 5.312 kB / 0.9635 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.8992, allocations: 5.219 kB / 0.9635 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.8992, allocations: 1.156 kB / 0.9635 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8992, allocations: 3.984 kB / 0.9635 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.9, allocations: 363.4 kB / 0.9639 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.9001, allocations: 93.67 kB / 0.964 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.9001, allocations: 14.7 kB / 0.964 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.9004, allocations: 42.39 kB / 0.964 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.994e-05/0.9005, allocations: 30.23 kB / 0.9641 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.9005, allocations: 7.297 kB / 0.9641 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001209/0.9006, allocations: 159.2 kB / 0.9642 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9006, allocations: 1.25 kB / 0.9642 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00033/0.9009, allocations: 70.44 kB / 0.9643 GB, free: 0.7617 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,TMea.T_start,TMea.count,HMea.T_start,HMea.count) * Number of discrete states: 2 (TMea.count,HMea.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001103/0.9011, allocations: 106.7 kB / 0.9644 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.9024, allocations: 0.6614 MB / 0.965 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.9024, allocations: 4 kB / 0.965 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004196/0.9028, allocations: 143.7 kB / 0.9652 GB, free: 184 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.9031, allocations: 40.94 kB / 0.9652 GB, free: 160 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008283/0.904, allocations: 439.4 kB / 0.9656 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.9043, allocations: 0.7244 MB / 0.9663 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.9044, allocations: 25.61 kB / 0.9664 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9044, allocations: 1 kB / 0.9664 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.004992/0.9094, allocations: 2.739 MB / 0.969 GB, free: 13.68 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.makefile make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindow.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 OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindowCalcHelperMain.o OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.ThermalZones.Detailed.Examples.Controls.Validation.ElectrochromicWindowCalcHelperMain.o] Error 1