Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001632/0.001633, allocations: 100.1 kB / 15.88 MB, free: 12 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.002428/0.002428, allocations: 198 kB / 16.79 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.509/1.509, allocations: 222.9 MB / 240.5 MB, free: 4.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002335/0.002335, allocations: 278.8 kB / 290.9 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.125/1.125, allocations: 169.2 MB / 0.4984 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 91.22 kB / 0.5951 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2846, allocations: 86.99 MB / 0.6801 GB, free: 1.152 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.01155/0.2963, allocations: 4.847 MB / 0.6848 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007778/0.3041, allocations: 2.484 MB / 0.6873 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.3052, allocations: 19.81 kB / 0.6873 GB, free: 9.793 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.3074, allocations: 369.1 kB / 0.6876 GB, free: 9.434 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002383/0.3098, allocations: 414.1 kB / 0.688 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.3117, allocations: 338.5 kB / 0.6883 GB, free: 8.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00228/0.314, allocations: 1.12 MB / 0.6894 GB, free: 7.578 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.3153, allocations: 355.5 kB / 0.6898 GB, free: 7.223 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009916/0.3164, allocations: 302.6 kB / 0.6901 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.3174, allocations: 350.5 kB / 0.6904 GB, free: 6.582 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002108/0.3177, allocations: 24 kB / 0.6904 GB, free: 6.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001894/0.3196, allocations: 0.495 MB / 0.6909 GB, free: 6.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005842/0.3202, allocations: 175.4 kB / 0.6911 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00134/0.3216, allocations: 302.3 kB / 0.6914 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.3234, allocations: 0.6663 MB / 0.692 GB, free: 4.926 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.3234, allocations: 0 / 0.692 GB, free: 4.926 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3234, allocations: 0 / 0.692 GB, free: 4.926 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.836e-05/0.3235, allocations: 4 kB / 0.692 GB, free: 4.922 MB / 494.1 MB 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.003318/0.3268, allocations: 0.9367 MB / 0.6929 GB, free: 3.938 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.793e-05/0.3269, allocations: 12.03 kB / 0.6929 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.3293, allocations: 195.9 kB / 0.6931 GB, free: 3.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.3306, allocations: 494.3 kB / 0.6936 GB, free: 3.215 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.518e-05/0.3307, allocations: 29.38 kB / 0.6936 GB, free: 3.184 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.3308, allocations: 44.36 kB / 0.6937 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.3327, allocations: 0.8487 MB / 0.6945 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/0.3328, allocations: 15.84 kB / 0.6945 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.524e-05/0.3329, allocations: 23.98 kB / 0.6945 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001546/0.3331, allocations: 68.89 kB / 0.6946 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.3346, allocations: 0.5733 MB / 0.6952 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007253/0.3418, allocations: 5.651 MB / 0.7007 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.3429, allocations: 456.7 kB / 0.7011 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000578/0.3436, allocations: 228.7 kB / 0.7013 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.552e-05/0.3436, allocations: 4 kB / 0.7013 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.3437, allocations: 34.56 kB / 0.7014 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 3.256e-06/0.3437, allocations: 0 / 0.7014 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.004128/0.3478, allocations: 1.501 MB / 0.7028 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.3479, allocations: 55.69 kB / 0.7029 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009513/0.3489, allocations: 0.4911 MB / 0.7034 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/0.3489, allocations: 29.7 kB / 0.7034 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.3493, allocations: 362.8 kB / 0.7037 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001515/0.3494, allocations: 122.3 kB / 0.7039 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.3497, allocations: 102.2 kB / 0.704 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.3499, allocations: 366.8 kB / 0.7043 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.3504, allocations: 197.2 kB / 0.7045 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006927/0.3511, allocations: 447.2 kB / 0.7049 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3525, allocations: 0.696 MB / 0.7056 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/0.3525, allocations: 0 / 0.7056 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002122/0.3546, allocations: 0.8094 MB / 0.7064 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/0.3547, allocations: 12.22 kB / 0.7064 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.3547, allocations: 8 kB / 0.7064 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007872/0.3555, allocations: 152 kB / 0.7066 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007353/0.3562, allocations: 123.8 kB / 0.7067 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004592/0.3609, allocations: 4.036 MB / 0.7106 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006103/0.3615, allocations: 35.97 kB / 0.7106 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.614e-05/0.3616, allocations: 28 kB / 0.7107 GB, free: 352 kB / 0.4981 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003731/0.362, allocations: 214.3 kB / 0.7109 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.3622, allocations: 63.25 kB / 0.7109 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.3637, allocations: 0.5932 MB / 0.7115 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.3638, allocations: 11.98 kB / 0.7115 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.3638, allocations: 4 kB / 0.7115 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.3638, allocations: 3.938 kB / 0.7115 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.3667, allocations: 1.263 MB / 0.7128 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3667, allocations: 0 / 0.7128 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.3671, allocations: 55.89 kB / 0.7128 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006417/0.3678, allocations: 148.3 kB / 0.713 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.3678, allocations: 8 kB / 0.713 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004548/0.3724, allocations: 4.024 MB / 0.7169 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.3724, allocations: 8.016 kB / 0.7169 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3741, allocations: 0.7038 MB / 0.7176 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003877/0.3745, allocations: 164.4 kB / 0.7178 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.3746, allocations: 15.88 kB / 0.7178 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.3751, allocations: 23.97 kB / 0.7178 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3753, allocations: 31.89 kB / 0.7178 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.3753, allocations: 20 kB / 0.7178 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006262/0.376, allocations: 326.9 kB / 0.7182 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.364e-06/0.376, allocations: 0 / 0.7182 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001151/0.3771, allocations: 143.9 kB / 0.7183 GB, free: 7.941 MB / 0.5137 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 (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00021/0.3774, allocations: 111.2 kB / 0.7184 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002298/0.3797, allocations: 1.041 MB / 0.7194 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3797, allocations: 0 / 0.7194 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/0.381, allocations: 0.7269 MB / 0.7201 GB, free: 5.891 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.3826, allocations: 192.1 kB / 0.7203 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.3857, allocations: 1.298 MB / 0.7216 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007889/0.3865, allocations: 0.9097 MB / 0.7225 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.3867, allocations: 39.44 kB / 0.7225 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.3867, allocations: 4 kB / 0.7225 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of Templates: time 0.03538/0.4221, allocations: 17.98 MB / 0.7401 GB, free: 1.426 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o] Error 1