Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|error|sen_nlin.I|sen_lin.I|sen_nlin.V|sen_lin.V|sen_nlin.P|sen_lin.P",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 99.67 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.001832/0.001832, 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.51/1.51, allocations: 223.2 MB / 240.6 MB, free: 5.422 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.504/2.504, allocations: 390.5 MB / 0.6662 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003809, allocations: 8 kB / 0.8154 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.829/0.8294, allocations: 142.3 MB / 0.9544 GB, free: 8.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad): time 0.004002/0.8335, allocations: 3.605 MB / 0.9579 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.8357, allocations: 1.497 MB / 0.9594 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.836, allocations: 5.344 kB / 0.9594 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.8362, allocations: 66.14 kB / 0.9594 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004243/0.8367, allocations: 183.7 kB / 0.9596 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.8372, allocations: 168.3 kB / 0.9598 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005734/0.8377, allocations: 0.6208 MB / 0.9604 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004308/0.8382, allocations: 389.5 kB / 0.9608 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.8384, allocations: 181.4 kB / 0.9609 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.8388, allocations: 233.1 kB / 0.9612 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.8389, allocations: 19.44 kB / 0.9612 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002361/0.8391, allocations: 80.41 kB / 0.9612 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.8393, allocations: 126.7 kB / 0.9614 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.527e-05/0.8394, allocations: 86.86 kB / 0.9615 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004081/0.8398, allocations: 407 kB / 0.9618 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.8398, allocations: 0.7812 kB / 0.9618 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8398, allocations: 0 / 0.9618 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.8398, allocations: 0 / 0.9618 GB, free: 2.633 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009951/0.8408, allocations: 0.6313 MB / 0.9625 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.8409, allocations: 9 kB / 0.9625 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007051/0.8416, allocations: 112.6 kB / 0.9626 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.8419, allocations: 295.6 kB / 0.9629 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.829e-05/0.842, allocations: 54.48 kB / 0.9629 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.155e-05/0.8421, allocations: 34.08 kB / 0.9629 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/0.8429, allocations: 0.5 MB / 0.9634 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.8429, allocations: 3.938 kB / 0.9634 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.738e-05/0.8429, allocations: 20.84 kB / 0.9635 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/0.843, allocations: 31.73 kB / 0.9635 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006435/0.8436, allocations: 387.8 kB / 0.9639 GB, free: 1.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002226/0.8459, allocations: 2.218 MB / 0.966 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006908/0.8466, allocations: 264.5 kB / 0.9663 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/0.8469, allocations: 164.6 kB / 0.9664 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.847, allocations: 5.812 kB / 0.9664 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.847, allocations: 36.67 kB / 0.9665 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.847, allocations: 0 / 0.9665 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001465/0.8485, allocations: 0.5881 MB / 0.967 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.8485, allocations: 53.22 kB / 0.9671 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.8488, allocations: 226.7 kB / 0.9673 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.8488, allocations: 27.08 kB / 0.9673 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.849, allocations: 218.6 kB / 0.9675 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.8491, allocations: 72.06 kB / 0.9676 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.8491, allocations: 1 kB / 0.9676 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.8492, allocations: 336 kB / 0.9679 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.8494, allocations: 90.12 kB / 0.968 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.8497, allocations: 185.9 kB / 0.9682 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.85, allocations: 119.6 kB / 0.9683 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.85, allocations: 0.9688 kB / 0.9683 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008589/0.8509, allocations: 386.7 kB / 0.9687 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.851, allocations: 167.8 kB / 0.9688 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.851, allocations: 3 kB / 0.9688 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004849/0.8515, allocations: 107.9 kB / 0.9689 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.8517, allocations: 60.47 kB / 0.969 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/0.8547, allocations: 2.824 MB / 0.9718 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.855, allocations: 38.7 kB / 0.9718 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.855, allocations: 12.06 kB / 0.9718 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.792e-06/0.855, allocations: 4.188 kB / 0.9718 GB, free: 9.965 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000736/0.8557, allocations: 307.9 kB / 0.9721 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.8558, allocations: 2.812 kB / 0.9721 GB, free: 9.816 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000276/0.856, allocations: 82.97 kB / 0.9722 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.8563, allocations: 55.25 kB / 0.9722 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.858, allocations: 1.5 MB / 0.9737 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002195/0.8582, allocations: 33.03 kB / 0.9737 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.8583, allocations: 12.25 kB / 0.9737 GB, free: 8.293 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002669/0.8585, allocations: 252.7 kB / 0.974 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.8586, allocations: 22.72 kB / 0.974 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.63e-05/0.8587, allocations: 27 kB / 0.974 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.8587, allocations: 9.938 kB / 0.974 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.8587, allocations: 1 kB / 0.974 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.8587, allocations: 0 / 0.974 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.8602, allocations: 0.8478 MB / 0.9749 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.8602, allocations: 1 kB / 0.9749 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.8603, allocations: 33.7 kB / 0.9749 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003813/0.8607, allocations: 100.6 kB / 0.975 GB, free: 7.273 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/0.8608, allocations: 5.25 kB / 0.975 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003077/0.8638, allocations: 2.8 MB / 0.9777 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8639, allocations: 5.312 kB / 0.9778 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008802/0.8648, allocations: 425.6 kB / 0.9782 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.8649, allocations: 125.5 kB / 0.9783 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.865, allocations: 2.188 kB / 0.9783 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.8652, allocations: 15.75 kB / 0.9783 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.8652, allocations: 24.06 kB / 0.9783 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.8653, allocations: 5.5 kB / 0.9783 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002001/0.8655, allocations: 161.5 kB / 0.9785 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8655, allocations: 0 / 0.9785 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008429/0.8663, allocations: 169.3 kB / 0.9786 GB, free: 3.863 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 (17): * Single equations (assignments): 15 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001547/0.8665, allocations: 104.8 kB / 0.9787 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001953/0.8685, allocations: 0.7689 MB / 0.9795 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.8685, allocations: 4.312 kB / 0.9795 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007592/0.8692, allocations: 366.5 kB / 0.9798 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.8697, allocations: 52.56 kB / 0.9799 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.871, allocations: 0.7527 MB / 0.9806 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.8714, allocations: 0.8099 MB / 0.9814 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/0.8715, allocations: 24.59 kB / 0.9814 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/0.8715, allocations: 0 / 0.9814 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.008619/0.8802, allocations: 6.131 MB / 0.9874 GB, free: 12.82 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile make -j1 -f Buildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.LinearizedLoadCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.DC.Loads.Examples.LinearizedLoadCalcHelperMain.o] Error 1