Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loa1.i.1.|loa2.i.1.|loa3.i.1.",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009617/0.000966, allocations: 102.9 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.001206/0.001206, allocations: 174.3 kB / 16.58 MB, free: 6.398 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.486/1.486, allocations: 223.3 MB / 240.6 MB, free: 5.324 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.624/2.624, allocations: 390.4 MB / 0.6662 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 8 kB / 0.8154 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.884/0.8844, allocations: 142.3 MB / 0.9544 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.VariableLoad): time 0.004224/0.8886, allocations: 3.372 MB / 0.9577 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002741/0.8914, allocations: 1.658 MB / 0.9593 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.8917, allocations: 9.562 kB / 0.9593 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.8919, allocations: 51.59 kB / 0.9594 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.8925, allocations: 192.1 kB / 0.9596 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007016/0.8933, allocations: 192.7 kB / 0.9597 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008038/0.8941, allocations: 0.5626 MB / 0.9603 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000528/0.8946, allocations: 337.7 kB / 0.9606 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003711/0.895, allocations: 153 kB / 0.9608 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006076/0.8956, allocations: 220.4 kB / 0.961 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.877e-05/0.8957, allocations: 24.2 kB / 0.961 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000373/0.8961, allocations: 89.53 kB / 0.9611 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.8962, allocations: 112.7 kB / 0.9612 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.8963, allocations: 84.17 kB / 0.9613 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004361/0.8968, allocations: 362.9 kB / 0.9616 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.788e-06/0.8968, allocations: 0.7188 kB / 0.9616 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8968, allocations: 0 / 0.9616 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.8968, allocations: 4.812 kB / 0.9616 GB, free: 2.902 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0009889/0.8978, allocations: 0.6074 MB / 0.9622 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.8979, allocations: 8.875 kB / 0.9622 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005858/0.8985, allocations: 81.47 kB / 0.9623 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.8988, allocations: 292.1 kB / 0.9626 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.8989, allocations: 24.5 kB / 0.9626 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.275e-05/0.8989, allocations: 30.27 kB / 0.9626 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008729/0.8998, allocations: 489.8 kB / 0.9631 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.8998, allocations: 5.094 kB / 0.9631 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/0.8999, allocations: 11.91 kB / 0.9631 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-05/0.9, allocations: 47.2 kB / 0.9632 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007578/0.9007, allocations: 387.8 kB / 0.9635 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002029/0.9028, allocations: 2.05 MB / 0.9655 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006039/0.9034, allocations: 220 kB / 0.9657 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004077/0.9038, allocations: 167.4 kB / 0.9659 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.9038, allocations: 6.016 kB / 0.9659 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.9039, allocations: 40.62 kB / 0.9659 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.9039, allocations: 4 kB / 0.9659 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.001158/0.9051, allocations: 449.1 kB / 0.9664 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.9051, allocations: 57.38 kB / 0.9664 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002956/0.9054, allocations: 265.6 kB / 0.9667 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.9055, allocations: 26.8 kB / 0.9667 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.9056, allocations: 217.9 kB / 0.9669 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.758e-05/0.9057, allocations: 59.42 kB / 0.967 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.9057, allocations: 6 kB / 0.967 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.9059, allocations: 331.8 kB / 0.9673 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.9061, allocations: 106.3 kB / 0.9674 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.9065, allocations: 209 kB / 0.9676 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000312/0.9068, allocations: 135.5 kB / 0.9677 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.9068, allocations: 1 kB / 0.9677 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008069/0.9076, allocations: 373.9 kB / 0.9681 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.9078, allocations: 197.5 kB / 0.9683 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.9078, allocations: 4.188 kB / 0.9683 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.908, allocations: 35.36 kB / 0.9683 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000289/0.9083, allocations: 77.83 kB / 0.9684 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.9096, allocations: 1.329 MB / 0.9697 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.9099, allocations: 45.11 kB / 0.9697 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-05/0.9099, allocations: 14.31 kB / 0.9697 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.9099, allocations: 14.06 kB / 0.9698 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007365/0.9107, allocations: 295 kB / 0.97 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.9107, allocations: 3.156 kB / 0.97 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.9107, allocations: 6 kB / 0.97 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.911, allocations: 81.69 kB / 0.9701 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.911, allocations: 12.91 kB / 0.9701 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002123/0.9112, allocations: 47.09 kB / 0.9702 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.145e-05/0.9113, allocations: 10.5 kB / 0.9702 GB, free: 11.82 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002505/0.9115, allocations: 242.5 kB / 0.9704 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.9116, allocations: 24.19 kB / 0.9704 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/0.9117, allocations: 38.14 kB / 0.9705 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.9117, allocations: 5.328 kB / 0.9705 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.9117, allocations: 0 / 0.9705 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9117, allocations: 5.438 kB / 0.9705 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.9131, allocations: 0.7717 MB / 0.9712 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.9131, allocations: 1.062 kB / 0.9712 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001904/0.9133, allocations: 45.53 kB / 0.9713 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000111/0.9134, allocations: 26.09 kB / 0.9713 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.9135, allocations: 5.062 kB / 0.9713 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.9145, allocations: 1.314 MB / 0.9726 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.9145, allocations: 0 / 0.9726 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007432/0.9153, allocations: 401 kB / 0.973 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.9154, allocations: 113.9 kB / 0.9731 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.591e-05/0.9154, allocations: 10.02 kB / 0.9731 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.9156, allocations: 21.36 kB / 0.9731 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.9157, allocations: 15.27 kB / 0.9731 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.9157, allocations: 8.219 kB / 0.9731 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002036/0.9159, allocations: 186.3 kB / 0.9733 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9159, allocations: 0 / 0.9733 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0006578/0.9166, allocations: 144.9 kB / 0.9735 GB, free: 8.953 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (18): * Single equations (assignments): 17 * 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: 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001406/0.9167, allocations: 96.06 kB / 0.9735 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.9179, allocations: 0.5179 MB / 0.9741 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.9179, allocations: 3.938 kB / 0.9741 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000369/0.9183, allocations: 228.6 kB / 0.9743 GB, free: 8.414 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000502/0.9188, allocations: 69.09 kB / 0.9743 GB, free: 8.375 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.9199, allocations: 0.7082 MB / 0.975 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.9204, allocations: 0.8027 MB / 0.9758 GB, free: 7.078 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.059e-05/0.9205, allocations: 22 kB / 0.9758 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.9205, allocations: 0 / 0.9758 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.007932/0.9284, allocations: 4.757 MB / 0.9805 GB, free: 4.504 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.Electrical.DC.Loads.Examples.VariableLoadCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.DC.Loads.Examples.VariableLoadCalcHelperMain.o] Error 1