Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 102.7 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.001872/0.001872, allocations: 176 kB / 16.58 MB, free: 6.863 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.445/1.445, allocations: 223.2 MB / 240.6 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.719/2.719, allocations: 436.7 MB / 0.7113 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003512, allocations: 8 kB / 0.8717 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9007/0.9011, allocations: 153.7 MB / 1.022 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005416/0.9065, allocations: 4.249 MB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003814/0.9104, allocations: 2.313 MB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003986/0.9108, allocations: 23.81 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002973/0.9111, allocations: 83.22 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009175/0.912, allocations: 354.1 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.9128, allocations: 286.3 kB / 1.029 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009307/0.9137, allocations: 0.9602 MB / 1.03 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007181/0.9144, allocations: 424.2 kB / 1.03 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003582/0.9148, allocations: 286.7 kB / 1.03 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.9152, allocations: 322.6 kB / 1.031 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.9153, allocations: 20 kB / 1.031 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004194/0.9157, allocations: 203.7 kB / 1.031 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.9159, allocations: 151.5 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.916, allocations: 149.3 kB / 1.031 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000611/0.9166, allocations: 0.641 MB / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9166, allocations: 0 / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.072e-06/0.9166, allocations: 0 / 1.032 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.9166, allocations: 0 / 1.032 GB, free: 6.812 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001158/0.9178, allocations: 0.8372 MB / 1.033 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.9179, allocations: 15.98 kB / 1.033 GB, free: 5.906 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.919, allocations: 195 kB / 1.033 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.9196, allocations: 477.4 kB / 1.033 GB, free: 5.207 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.9197, allocations: 32.95 kB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.9198, allocations: 55.89 kB / 1.033 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.9208, allocations: 0.8405 MB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.9208, allocations: 3.938 kB / 1.034 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.9209, allocations: 27.92 kB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.604e-05/0.921, allocations: 68.95 kB / 1.034 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007757/0.9218, allocations: 0.5578 MB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004216/0.926, allocations: 5.651 MB / 1.04 GB, free: 13.45 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006555/0.9267, allocations: 458.1 kB / 1.041 GB, free: 13 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.927, allocations: 228.7 kB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.927, allocations: 4 kB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.927, allocations: 35.09 kB / 1.041 GB, free: 12.72 MB / 0.795 GB Notification: Performance of pre-optimization done (n=32): time 2.104e-06/0.9271, allocations: 3.938 kB / 1.041 GB, free: 12.72 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002485/0.9295, allocations: 1.5 MB / 1.043 GB, free: 11.1 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.9296, allocations: 55.69 kB / 1.043 GB, free: 11.04 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.9302, allocations: 491 kB / 1.043 GB, free: 10.54 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.9302, allocations: 33.7 kB / 1.043 GB, free: 10.5 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.9305, allocations: 358.8 kB / 1.043 GB, free: 10.15 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.9306, allocations: 122.3 kB / 1.044 GB, free: 10.03 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.9306, allocations: 12 kB / 1.044 GB, free: 10.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.9308, allocations: 370.7 kB / 1.044 GB, free: 9.645 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.9311, allocations: 193.2 kB / 1.044 GB, free: 9.457 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.9317, allocations: 439.3 kB / 1.045 GB, free: 8.91 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.932, allocations: 263.7 kB / 1.045 GB, free: 8.652 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.9321, allocations: 4 kB / 1.045 GB, free: 8.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001282/0.9333, allocations: 0.8011 MB / 1.046 GB, free: 7.824 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.9334, allocations: 8 kB / 1.046 GB, free: 7.816 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.9334, allocations: 8.875 kB / 1.046 GB, free: 7.809 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/0.9339, allocations: 160.1 kB / 1.046 GB, free: 7.637 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004627/0.9344, allocations: 119.8 kB / 1.046 GB, free: 7.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/0.9378, allocations: 4.033 MB / 1.05 GB, free: 3.086 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004215/0.9382, allocations: 31.97 kB / 1.05 GB, free: 3.055 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.9383, allocations: 28 kB / 1.05 GB, free: 3.027 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.9386, allocations: 225.5 kB / 1.05 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.835e-05/0.9387, allocations: 59.34 kB / 1.05 GB, free: 2.738 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.9397, allocations: 0.5934 MB / 1.051 GB, free: 2.125 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.9397, allocations: 4 kB / 1.051 GB, free: 2.121 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9397, allocations: 4 kB / 1.051 GB, free: 2.117 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.9397, allocations: 4 kB / 1.051 GB, free: 2.113 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.9415, allocations: 1.261 MB / 1.052 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.9416, allocations: 8.219 kB / 1.052 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.9418, allocations: 55.89 kB / 1.052 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000404/0.9422, allocations: 136.1 kB / 1.052 GB, free: 0.5508 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.9422, allocations: 8 kB / 1.052 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003139/0.9454, allocations: 4.032 MB / 1.056 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9454, allocations: 0 / 1.056 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.9465, allocations: 0.7116 MB / 1.057 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.9467, allocations: 164.3 kB / 1.057 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.9468, allocations: 8 kB / 1.057 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.947, allocations: 23.97 kB / 1.057 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-05/0.9471, allocations: 35.84 kB / 1.057 GB, free: 11.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.9471, allocations: 12 kB / 1.057 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003568/0.9475, allocations: 330.8 kB / 1.057 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9475, allocations: 4 kB / 1.057 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006368/0.9481, allocations: 140 kB / 1.058 GB, free: 10.62 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001503/0.9483, allocations: 108.7 kB / 1.058 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.9497, allocations: 1.029 MB / 1.059 GB, free: 9.402 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.9497, allocations: 4.125 kB / 1.059 GB, free: 9.398 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008731/0.9506, allocations: 0.734 MB / 1.059 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008978/0.9515, allocations: 186.5 kB / 1.06 GB, free: 8.398 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.9532, allocations: 1.267 MB / 1.061 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007249/0.954, allocations: 0.9019 MB / 1.062 GB, free: 6.145 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.9541, allocations: 47.44 kB / 1.062 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of SimCode: time 4.058e-06/0.9541, allocations: 0 / 1.062 GB, free: 6.098 MB / 0.8106 GB Notification: Performance of Templates: time 0.02187/0.976, allocations: 17.93 MB / 1.079 GB, free: 4.199 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o] Error 1