Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009407/0.0009406, allocations: 99.44 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.001099/0.001099, allocations: 177.8 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.8 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.826/1.826, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005668/0.000567, allocations: 18.59 kB / 0.6744 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3248, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005106/0.33, allocations: 4.252 MB / 0.7921 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003872/0.3339, allocations: 2.345 MB / 0.7944 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003727/0.3343, allocations: 23.81 kB / 0.7944 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.3346, allocations: 87.2 kB / 0.7945 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009545/0.3356, allocations: 346.1 kB / 0.7948 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007895/0.3364, allocations: 285.9 kB / 0.7951 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009904/0.3374, allocations: 0.9602 MB / 0.796 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008205/0.3382, allocations: 432.3 kB / 0.7964 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004228/0.3386, allocations: 290.7 kB / 0.7967 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004324/0.3391, allocations: 326.6 kB / 0.797 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.951e-05/0.3391, allocations: 20 kB / 0.797 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.3396, allocations: 195.7 kB / 0.7972 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.3398, allocations: 159.4 kB / 0.7974 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.34, allocations: 137.4 kB / 0.7975 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000673/0.3406, allocations: 0.6353 MB / 0.7981 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3407, allocations: 7.938 kB / 0.7981 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.554e-06/0.3407, allocations: 0 / 0.7981 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.3407, allocations: 0 / 0.7981 GB, free: 1.402 MB / 0.6075 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.001358/0.342, allocations: 0.8295 MB / 0.799 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3421, allocations: 8.031 kB / 0.799 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.3433, allocations: 202.9 kB / 0.7992 GB, free: 320 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007112/0.344, allocations: 481.4 kB / 0.7996 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.748e-05/0.3441, allocations: 32.91 kB / 0.7996 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.3442, allocations: 44 kB / 0.7997 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.3454, allocations: 0.8403 MB / 0.8005 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.322e-05/0.3454, allocations: 15.84 kB / 0.8005 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.3455, allocations: 27.92 kB / 0.8005 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-05/0.3456, allocations: 60.95 kB / 0.8006 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.3464, allocations: 0.5694 MB / 0.8012 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00451/0.3509, allocations: 5.651 MB / 0.8067 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007382/0.3516, allocations: 450.3 kB / 0.8071 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003895/0.3521, allocations: 236.7 kB / 0.8073 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.274e-05/0.3521, allocations: 7.984 kB / 0.8073 GB, free: 7.34 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.3522, allocations: 34.5 kB / 0.8074 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 3.657e-06/0.3522, allocations: 0 / 0.8074 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002623/0.3548, allocations: 1.51 MB / 0.8088 GB, free: 5.676 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3548, allocations: 55.34 kB / 0.8089 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.3554, allocations: 498.9 kB / 0.8094 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.3554, allocations: 29.7 kB / 0.8094 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.3556, allocations: 354.8 kB / 0.8097 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.422e-05/0.3558, allocations: 122.3 kB / 0.8099 GB, free: 4.602 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.3558, allocations: 12 kB / 0.8099 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3559, allocations: 362.8 kB / 0.8102 GB, free: 4.227 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.3562, allocations: 201.1 kB / 0.8104 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.3567, allocations: 439 kB / 0.8108 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.3571, allocations: 263.8 kB / 0.8111 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.3571, allocations: 4 kB / 0.8111 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001245/0.3583, allocations: 0.8065 MB / 0.8119 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.3584, allocations: 8 kB / 0.8119 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.3584, allocations: 12 kB / 0.8119 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/0.3589, allocations: 152.8 kB / 0.812 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004456/0.3593, allocations: 123.8 kB / 0.8122 GB, free: 2.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/0.363, allocations: 4.029 MB / 0.8161 GB, free: 13.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.3634, allocations: 35.97 kB / 0.8161 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.3635, allocations: 31.94 kB / 0.8162 GB, free: 13.59 MB / 0.6387 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.0002833/0.3638, allocations: 202.3 kB / 0.8163 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.3639, allocations: 67.34 kB / 0.8164 GB, free: 13.32 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001039/0.3649, allocations: 0.6086 MB / 0.817 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3649, allocations: 4 kB / 0.817 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3649, allocations: 7.953 kB / 0.817 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.365, allocations: 3.984 kB / 0.817 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.3669, allocations: 1.246 MB / 0.8182 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.3669, allocations: 4 kB / 0.8182 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.3672, allocations: 55.89 kB / 0.8183 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003784/0.3676, allocations: 148.3 kB / 0.8184 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.551e-05/0.3676, allocations: 4 kB / 0.8184 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003147/0.3708, allocations: 4.036 MB / 0.8224 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3708, allocations: 0 / 0.8224 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3719, allocations: 0.6999 MB / 0.8231 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.3721, allocations: 172.3 kB / 0.8232 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.892e-05/0.3722, allocations: 15.94 kB / 0.8232 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3724, allocations: 19.97 kB / 0.8233 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.3725, allocations: 27.97 kB / 0.8233 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.3725, allocations: 12 kB / 0.8233 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003838/0.3729, allocations: 322.8 kB / 0.8236 GB, free: 5.344 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3729, allocations: 7.828 kB / 0.8236 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006962/0.3736, allocations: 140 kB / 0.8238 GB, free: 5.203 MB / 0.6387 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.0001746/0.3738, allocations: 115.1 kB / 0.8239 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.3752, allocations: 1.037 MB / 0.8249 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3752, allocations: 0 / 0.8249 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008954/0.3761, allocations: 0.7343 MB / 0.8256 GB, free: 3.145 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.3772, allocations: 188.2 kB / 0.8258 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00187/0.3791, allocations: 1.265 MB / 0.827 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005139/0.3796, allocations: 0.9019 MB / 0.8279 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001267/0.3797, allocations: 43.44 kB / 0.8279 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of SimCode: time 1.813e-06/0.3797, allocations: 0 / 0.8279 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of Templates: time 0.02277/0.4025, allocations: 17.94 MB / 0.8454 GB, free: 14.77 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile make -j1 -f Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedanceCalcHelperMain.o] Error 1