Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance") translateModel(IBPSA.Electrical.DC.Lines.Examples.Resistance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001006/0.001006, allocations: 95.06 kB / 16.33 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009131/0.0009132, allocations: 186.6 kB / 17.23 MB, free: 6.305 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.519/1.519, allocations: 223.3 MB / 241.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8057/0.8057, allocations: 114.3 MB / 406.7 MB, free: 8.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003674, allocations: 11.98 kB / 494.5 MB, free: 1.438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4566, allocations: 77.25 MB / 0.5583 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Lines.Examples.Resistance): time 0.003372/0.4601, allocations: 2.647 MB / 0.5609 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.462, allocations: 1.238 MB / 0.5621 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.4621, allocations: 9.062 kB / 0.5621 GB, free: 33.53 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.4623, allocations: 36.97 kB / 0.5621 GB, free: 33.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.4627, allocations: 110.1 kB / 0.5622 GB, free: 33.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002792/0.463, allocations: 97.84 kB / 0.5623 GB, free: 33.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.4633, allocations: 351.5 kB / 0.5627 GB, free: 33.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003186/0.4637, allocations: 220.8 kB / 0.5629 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.4638, allocations: 100.8 kB / 0.563 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000285/0.4641, allocations: 131.5 kB / 0.5631 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.079e-05/0.4641, allocations: 9.938 kB / 0.5631 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.4643, allocations: 76.89 kB / 0.5632 GB, free: 33.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.4645, allocations: 73.09 kB / 0.5633 GB, free: 33 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.4645, allocations: 63.67 kB / 0.5633 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.4649, allocations: 244.9 kB / 0.5635 GB, free: 32.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4649, allocations: 0.7969 kB / 0.5636 GB, free: 32.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.4649, allocations: 0 / 0.5636 GB, free: 32.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4649, allocations: 0 / 0.5636 GB, free: 32.91 MB / 446.1 MB 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.0006287/0.4655, allocations: 494.9 kB / 0.564 GB, free: 32.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.4656, allocations: 13.33 kB / 0.564 GB, free: 32.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006192/0.4662, allocations: 76.7 kB / 0.5641 GB, free: 32.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.4666, allocations: 236.3 kB / 0.5643 GB, free: 32.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.4666, allocations: 18.09 kB / 0.5644 GB, free: 32.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.4667, allocations: 18.88 kB / 0.5644 GB, free: 32.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.4672, allocations: 304.4 kB / 0.5647 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.4673, allocations: 2.672 kB / 0.5647 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.4673, allocations: 5.828 kB / 0.5647 GB, free: 32.03 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.929e-05/0.4673, allocations: 20.58 kB / 0.5647 GB, free: 32.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003345/0.4677, allocations: 193.1 kB / 0.5649 GB, free: 31.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.4693, allocations: 1.466 MB / 0.5663 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.4696, allocations: 181.8 kB / 0.5665 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.798e-05/0.4696, allocations: 35.44 kB / 0.5665 GB, free: 30.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.4697, allocations: 5.547 kB / 0.5665 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.4697, allocations: 33.95 kB / 0.5665 GB, free: 30.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.4697, allocations: 0 / 0.5665 GB, free: 30.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004385/0.4701, allocations: 224.1 kB / 0.5668 GB, free: 30.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.4702, allocations: 58.91 kB / 0.5668 GB, free: 30.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.4704, allocations: 198.4 kB / 0.567 GB, free: 30.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.4705, allocations: 27.08 kB / 0.567 GB, free: 30.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.4706, allocations: 167.6 kB / 0.5672 GB, free: 29.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.4706, allocations: 26.23 kB / 0.5672 GB, free: 29.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.4706, allocations: 0 / 0.5672 GB, free: 29.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.197e-05/0.4707, allocations: 328 kB / 0.5675 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.504e-05/0.4707, allocations: 31.38 kB / 0.5676 GB, free: 29.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4709, allocations: 103.8 kB / 0.5677 GB, free: 29.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.471, allocations: 52.53 kB / 0.5677 GB, free: 29.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.471, allocations: 1.281 kB / 0.5677 GB, free: 29.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003417/0.4713, allocations: 192.2 kB / 0.5679 GB, free: 29.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4713, allocations: 8.781 kB / 0.5679 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.4714, allocations: 2.812 kB / 0.5679 GB, free: 29.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.4715, allocations: 25.92 kB / 0.5679 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4716, allocations: 29.81 kB / 0.568 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008719/0.4725, allocations: 1.322 MB / 0.5692 GB, free: 27.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.4727, allocations: 19.69 kB / 0.5693 GB, free: 27.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.4727, allocations: 9.234 kB / 0.5693 GB, free: 27.96 MB / 446.1 MB 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.0001287/0.4728, allocations: 155.4 kB / 0.5694 GB, free: 27.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.4729, allocations: 15.69 kB / 0.5694 GB, free: 27.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.4729, allocations: 20.08 kB / 0.5695 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.4729, allocations: 0 / 0.5695 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.4729, allocations: 1.219 kB / 0.5695 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.4729, allocations: 0.7031 kB / 0.5695 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005379/0.4735, allocations: 440.5 kB / 0.5699 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.4735, allocations: 1.828 kB / 0.5699 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.02e-05/0.4735, allocations: 11.61 kB / 0.5699 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.349e-05/0.4736, allocations: 24.97 kB / 0.5699 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.4736, allocations: 0 / 0.5699 GB, free: 27.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007267/0.4744, allocations: 1.312 MB / 0.5712 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.4744, allocations: 3.031 kB / 0.5712 GB, free: 26.11 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.4746, allocations: 207.8 kB / 0.5714 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.4747, allocations: 101.6 kB / 0.5715 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.165e-05/0.4747, allocations: 7.203 kB / 0.5715 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.4749, allocations: 4.734 kB / 0.5715 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.518e-05/0.4749, allocations: 9.547 kB / 0.5715 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-06/0.4749, allocations: 6.859 kB / 0.5715 GB, free: 25.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001986/0.4751, allocations: 141.3 kB / 0.5717 GB, free: 25.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4751, allocations: 0 / 0.5717 GB, free: 25.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003743/0.4755, allocations: 54.62 kB / 0.5717 GB, free: 25.71 MB / 446.1 MB 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.0001368/0.4756, allocations: 99.31 kB / 0.5718 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.476, allocations: 207 kB / 0.572 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.476, allocations: 0 / 0.572 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.4762, allocations: 152.7 kB / 0.5721 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000539/0.4768, allocations: 28.14 kB / 0.5722 GB, free: 25.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007419/0.4775, allocations: 467.2 kB / 0.5726 GB, free: 25.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.4778, allocations: 0.7484 MB / 0.5734 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.4779, allocations: 17 kB / 0.5734 GB, free: 24.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4779, allocations: 0 / 0.5734 GB, free: 24.32 MB / 446.1 MB Notification: Performance of Templates: time 0.006773/0.4846, allocations: 2.956 MB / 0.5763 GB, free: 24.14 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.Resistance.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.DC.Lines.Examples.ResistanceCalcHelperMain.o] Error 1