Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") translateModel(Buildings.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 102.5 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.001293/0.001294, allocations: 176.1 kB / 16.58 MB, free: 6.082 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.5/1.5, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.741/2.741, allocations: 436.7 MB / 0.7113 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 12 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7535/0.7539, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.Resistance): time 0.003128/0.7571, allocations: 2.669 MB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001847/0.7589, allocations: 1.236 MB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.7591, allocations: 11.88 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.7593, allocations: 39.7 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003428/0.7596, allocations: 111.5 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.76, allocations: 99.73 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003697/0.7603, allocations: 350.8 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003055/0.7607, allocations: 207.9 kB / 1.026 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.7608, allocations: 103.6 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002858/0.7611, allocations: 135.5 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.7611, allocations: 8 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.7613, allocations: 87.81 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.7614, allocations: 63.86 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.7615, allocations: 65.58 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.7618, allocations: 253.3 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7618, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.82e-07/0.7618, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.7618, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006958/0.7625, allocations: 487 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.7625, allocations: 15.98 kB / 1.027 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005502/0.7631, allocations: 79.64 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.7634, allocations: 243.9 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.7635, allocations: 12.38 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.7635, allocations: 20 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.7639, allocations: 298.9 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.7639, allocations: 4 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/0.764, allocations: 11.98 kB / 1.028 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.764, allocations: 12.38 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.7643, allocations: 196.9 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00141/0.7657, allocations: 1.456 MB / 1.03 GB, free: 8.555 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.766, allocations: 183.6 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.29e-05/0.7661, allocations: 40.78 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.7661, allocations: 0 / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.7662, allocations: 30.56 kB / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.7662, allocations: 0 / 1.03 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0004698/0.7666, allocations: 235.5 kB / 1.03 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.7667, allocations: 55.34 kB / 1.03 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.7669, allocations: 187.6 kB / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.7669, allocations: 29.7 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.767, allocations: 167.6 kB / 1.031 GB, free: 7.547 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.767, allocations: 31.55 kB / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.767, allocations: 0 / 1.031 GB, free: 7.516 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.7672, allocations: 330.8 kB / 1.031 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.7672, allocations: 31.98 kB / 1.031 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-05/0.7673, allocations: 100.5 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.076e-05/0.7674, allocations: 55.92 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7674, allocations: 0 / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000285/0.7677, allocations: 190.4 kB / 1.031 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.7678, allocations: 4 kB / 1.031 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.7678, allocations: 4 kB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001614/0.7679, allocations: 20.91 kB / 1.031 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.7681, allocations: 39.92 kB / 1.031 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009918/0.7691, allocations: 1.311 MB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.7692, allocations: 19.75 kB / 1.033 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.7692, allocations: 8 kB / 1.033 GB, free: 5.23 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (17): * Single equations (assignments): 16 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.7693, allocations: 149.9 kB / 1.033 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.7694, allocations: 11.91 kB / 1.033 GB, free: 5.062 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.985e-05/0.7694, allocations: 17.41 kB / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.7694, allocations: 0 / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7694, allocations: 0 / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.7694, allocations: 15.88 kB / 1.033 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.7699, allocations: 435.6 kB / 1.033 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7699, allocations: 0 / 1.033 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.061e-05/0.77, allocations: 11.98 kB / 1.033 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.221e-05/0.7701, allocations: 32.73 kB / 1.033 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.7701, allocations: 0 / 1.033 GB, free: 4.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001018/0.7711, allocations: 1.316 MB / 1.035 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.7711, allocations: 0 / 1.035 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.7714, allocations: 216.1 kB / 1.035 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.334e-05/0.7715, allocations: 104.8 kB / 1.035 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.7715, allocations: 0 / 1.035 GB, free: 2.699 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.7716, allocations: 8.094 kB / 1.035 GB, free: 2.691 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.559e-05/0.7716, allocations: 7.984 kB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.7716, allocations: 4.094 kB / 1.035 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000146/0.7718, allocations: 148.2 kB / 1.035 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7718, allocations: 0 / 1.035 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003574/0.7722, allocations: 43.91 kB / 1.035 GB, free: 2.492 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 5 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001602/0.7723, allocations: 114 kB / 1.035 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.7728, allocations: 206.6 kB / 1.035 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.7728, allocations: 0 / 1.035 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.7729, allocations: 150.6 kB / 1.036 GB, free: 2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004044/0.7734, allocations: 28.73 kB / 1.036 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007358/0.7741, allocations: 459 kB / 1.036 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.7745, allocations: 0.7517 MB / 1.037 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.7745, allocations: 19.38 kB / 1.037 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of SimCode: time 2.775e-06/0.7745, allocations: 0 / 1.037 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of Templates: time 0.005658/0.7802, allocations: 2.95 MB / 1.04 GB, free: 13.75 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.makefile make -j1 -f Buildings_latest_Buildings.Electrical.DC.Lines.Examples.Resistance.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_latest_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o] Error 1