Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 100.5 kB / 15.71 MB, free: 452 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.00173/0.00173, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.473/1.473, allocations: 223.3 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.779/2.779, allocations: 436.7 MB / 0.7113 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004209/0.0004211, allocations: 23.97 kB / 0.8717 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9577/0.9582, allocations: 153.6 MB / 1.022 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.ElectricEIR): time 0.06221/1.02, allocations: 55.92 MB / 1.076 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02578/1.046, allocations: 12.36 MB / 1.088 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004392/1.051, allocations: 63.56 kB / 1.088 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003514/1.054, allocations: 0.7143 MB / 1.089 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007797/1.062, allocations: 1.824 MB / 1.091 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005164/1.067, allocations: 1.168 MB / 1.092 GB, free: 8.926 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008192/1.075, allocations: 4.804 MB / 1.097 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002998/1.079, allocations: 0.9811 MB / 1.098 GB, free: 3.102 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004465/1.083, allocations: 1.287 MB / 1.099 GB, free: 1.809 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/1.086, allocations: 1.1 MB / 1.1 GB, free: 0.7031 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006156/1.087, allocations: 60 kB / 1.1 GB, free: 0.6445 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004152/1.091, allocations: 1.006 MB / 1.101 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008771/1.092, allocations: 314.6 kB / 1.101 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001141/1.093, allocations: 360.8 kB / 1.102 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003795/1.097, allocations: 1.974 MB / 1.104 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/1.097, allocations: 0 / 1.104 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.675e-06/1.097, allocations: 0 / 1.104 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.551e-05/1.097, allocations: 0 / 1.104 GB, free: 12.99 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.004468/1.101, allocations: 1.907 MB / 1.106 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/1.101, allocations: 19.86 kB / 1.106 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/1.105, allocations: 0.5755 MB / 1.106 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002897/1.108, allocations: 1.345 MB / 1.107 GB, free: 9.027 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/1.108, allocations: 149.3 kB / 1.108 GB, free: 8.867 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/1.108, allocations: 100 kB / 1.108 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002973/1.111, allocations: 1.358 MB / 1.109 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/1.111, allocations: 3.984 kB / 1.109 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/1.111, allocations: 36 kB / 1.109 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/1.111, allocations: 24 kB / 1.109 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003729/1.115, allocations: 1.394 MB / 1.11 GB, free: 5.922 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008431/1.123, allocations: 5.477 MB / 1.116 GB, free: 96 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004947/1.128, allocations: 1.411 MB / 1.117 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/1.13, allocations: 0.631 MB / 1.118 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009385/1.131, allocations: 1.239 MB / 1.119 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001697/1.132, allocations: 0.6939 MB / 1.12 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 3.186e-06/1.132, allocations: 0 / 1.12 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.004956/1.137, allocations: 1.774 MB / 1.121 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/1.137, allocations: 63.97 kB / 1.121 GB, free: 9.945 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/1.139, allocations: 1.268 MB / 1.123 GB, free: 8.668 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/1.139, allocations: 37.7 kB / 1.123 GB, free: 8.625 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006265/1.14, allocations: 0.658 MB / 1.123 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/1.14, allocations: 241.3 kB / 1.124 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.592e-05/1.14, allocations: 16 kB / 1.124 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.141, allocations: 337.9 kB / 1.124 GB, free: 7.367 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/1.142, allocations: 0.5524 MB / 1.124 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/1.144, allocations: 0.7751 MB / 1.125 GB, free: 5.961 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/1.145, allocations: 0.6018 MB / 1.126 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/1.145, allocations: 0 / 1.126 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.003681/1.149, allocations: 1.465 MB / 1.127 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001791/1.149, allocations: 222 kB / 1.127 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.149, allocations: 0 / 1.127 GB, free: 3.602 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/1.149, allocations: 8 kB / 1.127 GB, free: 3.594 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/1.15, allocations: 271.7 kB / 1.128 GB, free: 3.328 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/1.15, allocations: 15.88 kB / 1.128 GB, free: 3.312 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/1.152, allocations: 243 kB / 1.128 GB, free: 3.074 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.744e-05/1.152, allocations: 43.94 kB / 1.128 GB, free: 3.031 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/1.152, allocations: 4 kB / 1.128 GB, free: 3.027 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003151/1.155, allocations: 1.309 MB / 1.129 GB, free: 1.715 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.155, allocations: 7.984 kB / 1.129 GB, free: 1.707 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/1.155, allocations: 8 kB / 1.129 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.157, allocations: 276 kB / 1.13 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.157, allocations: 7.938 kB / 1.13 GB, free: 1.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/1.158, allocations: 235.1 kB / 1.13 GB, free: 1.191 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/1.158, allocations: 43.97 kB / 1.13 GB, free: 1.148 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (chi.tru.y,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009143/1.159, allocations: 412.9 kB / 1.13 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002756/1.159, allocations: 150.1 kB / 1.13 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/1.163, allocations: 1.524 MB / 1.132 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.148e-05/1.163, allocations: 15.98 kB / 1.132 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.163, allocations: 0 / 1.132 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003052/1.166, allocations: 1.289 MB / 1.133 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006583/1.173, allocations: 3.261 MB / 1.136 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.173, allocations: 4 kB / 1.136 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.174, allocations: 240.1 kB / 1.137 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-05/1.174, allocations: 8 kB / 1.137 GB, free: 10.03 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-05/1.174, allocations: 31.97 kB / 1.137 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/1.174, allocations: 11.94 kB / 1.137 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.174, allocations: 4 kB / 1.137 GB, free: 9.984 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005261/1.18, allocations: 2.321 MB / 1.139 GB, free: 7.59 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008823/1.181, allocations: 370.8 kB / 1.139 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/1.181, allocations: 16 kB / 1.139 GB, free: 7.191 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/1.182, allocations: 191.7 kB / 1.139 GB, free: 7.004 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/1.182, allocations: 72.38 kB / 1.139 GB, free: 6.934 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.973e-05/1.182, allocations: 39.97 kB / 1.14 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001442/1.184, allocations: 0.8973 MB / 1.14 GB, free: 6 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.184, allocations: 0 / 1.14 GB, free: 6 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002213/1.186, allocations: 0.7876 MB / 1.141 GB, free: 5.211 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.001088/1.187, allocations: 492.5 kB / 1.142 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005227/1.192, allocations: 2.089 MB / 1.144 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/1.192, allocations: 0 / 1.144 GB, free: 2.621 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001745/1.194, allocations: 0.6991 MB / 1.144 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/1.198, allocations: 0.7476 MB / 1.145 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006388/1.204, allocations: 3.426 MB / 1.148 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008187/1.205, allocations: 1.23 MB / 1.15 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005255/1.206, allocations: 139.4 kB / 1.15 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of SimCode: time 1.042e-06/1.206, allocations: 0 / 1.15 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of Templates: time 0.04113/1.247, allocations: 26.52 MB / 1.176 GB, free: 1.926 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.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 OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIRCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIRCalcHelperMain.o] Error 1