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.002161/0.00216, allocations: 96.14 kB / 15.87 MB, free: 16 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.002938/0.002939, allocations: 193.8 kB / 16.79 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.952/1.952, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.00149/0.001491, allocations: 67.92 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3886, allocations: 114.5 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007161/0.3959, allocations: 4.879 MB / 0.7881 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004495/0.4004, allocations: 2.507 MB / 0.7905 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003609/0.4008, allocations: 23.81 kB / 0.7906 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.402, allocations: 370.4 kB / 0.7909 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.4031, allocations: 414 kB / 0.7913 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.4041, allocations: 347 kB / 0.7916 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.4054, allocations: 1.124 MB / 0.7927 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006754/0.406, allocations: 339.6 kB / 0.7931 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004318/0.4065, allocations: 310.5 kB / 0.7934 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005093/0.407, allocations: 354.5 kB / 0.7937 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.4071, allocations: 24 kB / 0.7937 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009928/0.4081, allocations: 0.4912 MB / 0.7942 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002514/0.4083, allocations: 171.4 kB / 0.7944 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003314/0.4087, allocations: 302.2 kB / 0.7947 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007738/0.4095, allocations: 0.6663 MB / 0.7953 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4095, allocations: 0 / 0.7953 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4095, allocations: 4 kB / 0.7953 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.357e-06/0.4095, allocations: 0 / 0.7953 GB, free: 1.676 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.001582/0.4111, allocations: 0.9385 MB / 0.7962 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.4112, allocations: 12.03 kB / 0.7962 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.4124, allocations: 203.9 kB / 0.7964 GB, free: 484 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007873/0.4132, allocations: 494.3 kB / 0.7969 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.4132, allocations: 29.38 kB / 0.7969 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-05/0.4133, allocations: 44.36 kB / 0.797 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.4145, allocations: 0.8523 MB / 0.7978 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.4146, allocations: 7.938 kB / 0.7978 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.4146, allocations: 27.97 kB / 0.7978 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.4147, allocations: 64.95 kB / 0.7979 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.4156, allocations: 0.5656 MB / 0.7985 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00533/0.4209, allocations: 5.654 MB / 0.804 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.4216, allocations: 458.3 kB / 0.8044 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.422, allocations: 228.7 kB / 0.8046 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.422, allocations: 7.938 kB / 0.8046 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.4221, allocations: 34.56 kB / 0.8047 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 3.076e-06/0.4221, allocations: 4 kB / 0.8047 GB, free: 7.438 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.00279/0.4249, allocations: 1.505 MB / 0.8061 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.4249, allocations: 59.41 kB / 0.8062 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005674/0.4255, allocations: 499 kB / 0.8067 GB, free: 5.25 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.886e-05/0.4255, allocations: 29.7 kB / 0.8067 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.4258, allocations: 358.7 kB / 0.8071 GB, free: 4.859 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.4259, allocations: 118.3 kB / 0.8072 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.4261, allocations: 110.2 kB / 0.8073 GB, free: 4.625 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4263, allocations: 370.8 kB / 0.8076 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.4266, allocations: 193.2 kB / 0.8078 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.4271, allocations: 446.8 kB / 0.8082 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.428, allocations: 0.6963 MB / 0.8089 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.428, allocations: 0 / 0.8089 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001289/0.4293, allocations: 0.8055 MB / 0.8097 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.4294, allocations: 8 kB / 0.8097 GB, free: 1.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.4294, allocations: 8 kB / 0.8097 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005726/0.43, allocations: 164.7 kB / 0.8099 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.4304, allocations: 115.8 kB / 0.81 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.4342, allocations: 4.044 MB / 0.8139 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.4345, allocations: 35.97 kB / 0.814 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.4346, allocations: 28 kB / 0.814 GB, free: 13.06 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 (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.000341/0.435, allocations: 214.9 kB / 0.8142 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4351, allocations: 63.42 kB / 0.8143 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.4362, allocations: 0.6043 MB / 0.8148 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.4362, allocations: 4 kB / 0.8149 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4362, allocations: 4 kB / 0.8149 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.4362, allocations: 7.922 kB / 0.8149 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.4381, allocations: 1.251 MB / 0.8161 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.4381, allocations: 0 / 0.8161 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.4384, allocations: 59.89 kB / 0.8161 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004362/0.4388, allocations: 148.3 kB / 0.8163 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.4388, allocations: 8 kB / 0.8163 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003408/0.4423, allocations: 4.033 MB / 0.8202 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4423, allocations: 4.031 kB / 0.8202 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.4434, allocations: 0.7038 MB / 0.8209 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.4436, allocations: 168.3 kB / 0.8211 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.509e-05/0.4437, allocations: 15.92 kB / 0.8211 GB, free: 5.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.4439, allocations: 27.97 kB / 0.8211 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.444, allocations: 27.97 kB / 0.8211 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.4441, allocations: 8 kB / 0.8212 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003964/0.4445, allocations: 334.8 kB / 0.8215 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4445, allocations: 0 / 0.8215 GB, free: 4.793 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007092/0.4452, allocations: 136 kB / 0.8216 GB, free: 4.66 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 (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.0002083/0.4454, allocations: 119.1 kB / 0.8217 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001582/0.447, allocations: 1.028 MB / 0.8227 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.447, allocations: 1.062 kB / 0.8227 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008875/0.4479, allocations: 0.7421 MB / 0.8234 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000999/0.4489, allocations: 193 kB / 0.8236 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.4508, allocations: 1.291 MB / 0.8249 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.4514, allocations: 0.9059 MB / 0.8258 GB, free: 136 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.4515, allocations: 43.42 kB / 0.8258 GB, free: 92 kB / 0.6387 GB Notification: Performance of SimCode: time 4.71e-07/0.4515, allocations: 4 kB / 0.8258 GB, free: 88 kB / 0.6387 GB Notification: Performance of Templates: time 0.02565/0.4772, allocations: 17.97 MB / 0.8434 GB, free: 14.15 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++ -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 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