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.001318/0.001318, allocations: 92.16 kB / 16.02 MB, free: 80 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.002089/0.00209, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.224/2.224, allocations: 205.4 MB / 223.1 MB, free: 5.527 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 2.033/2.033, allocations: 292.7 MB / 0.5509 GB, free: 14.5 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.0005811/0.0005813, allocations: 13.28 kB / 0.675 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3322, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006/0.3383, allocations: 4.475 MB / 0.7929 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004758/0.3431, allocations: 2.484 MB / 0.7953 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006049/0.3437, allocations: 19.81 kB / 0.7954 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.3441, allocations: 87.16 kB / 0.7954 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.3456, allocations: 410.1 kB / 0.7958 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.3466, allocations: 347 kB / 0.7962 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001321/0.3479, allocations: 1.128 MB / 0.7973 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009652/0.3489, allocations: 460.3 kB / 0.7977 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004963/0.3494, allocations: 294.6 kB / 0.798 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000477/0.3499, allocations: 330.5 kB / 0.7983 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.3499, allocations: 20 kB / 0.7983 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009513/0.3509, allocations: 495 kB / 0.7988 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.3511, allocations: 167.4 kB / 0.799 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.3514, allocations: 315.9 kB / 0.7993 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007778/0.3522, allocations: 0.6664 MB / 0.7999 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3522, allocations: 0 / 0.7999 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3522, allocations: 0 / 0.7999 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.3522, allocations: 4 kB / 0.7999 GB, free: 15.88 MB / 0.6231 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.001364/0.3536, allocations: 0.8296 MB / 0.8007 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3537, allocations: 8.031 kB / 0.8007 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.3549, allocations: 199.9 kB / 0.8009 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.3556, allocations: 494.3 kB / 0.8014 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.3557, allocations: 37.36 kB / 0.8014 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.144e-05/0.3557, allocations: 48.27 kB / 0.8015 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3569, allocations: 0.8485 MB / 0.8023 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.3569, allocations: 7.938 kB / 0.8023 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.357, allocations: 20 kB / 0.8023 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.091e-05/0.3571, allocations: 64.95 kB / 0.8024 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008212/0.3579, allocations: 0.5733 MB / 0.8029 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.3626, allocations: 5.647 MB / 0.8085 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.3633, allocations: 446.3 kB / 0.8089 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003261/0.3636, allocations: 224.7 kB / 0.8091 GB, free: 5.824 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.3637, allocations: 11.94 kB / 0.8091 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.3637, allocations: 42.48 kB / 0.8092 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.835e-06/0.3637, allocations: 0 / 0.8092 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002704/0.3664, allocations: 1.509 MB / 0.8106 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.3665, allocations: 59.33 kB / 0.8107 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005288/0.367, allocations: 0.4912 MB / 0.8112 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.3671, allocations: 29.7 kB / 0.8112 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3673, allocations: 354.8 kB / 0.8115 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.231e-05/0.3674, allocations: 122.3 kB / 0.8116 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-05/0.3675, allocations: 53.69 kB / 0.8117 GB, free: 3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3677, allocations: 362.8 kB / 0.812 GB, free: 2.637 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.3679, allocations: 197.2 kB / 0.8122 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004594/0.3684, allocations: 446.8 kB / 0.8127 GB, free: 1.891 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008532/0.3693, allocations: 0.6886 MB / 0.8133 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3693, allocations: 0 / 0.8133 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001266/0.3705, allocations: 0.8135 MB / 0.8141 GB, free: 256 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3706, allocations: 8 kB / 0.8141 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.3706, allocations: 8 kB / 0.8141 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005001/0.3711, allocations: 156.5 kB / 0.8143 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004678/0.3716, allocations: 127.7 kB / 0.8144 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003344/0.3749, allocations: 4.036 MB / 0.8184 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.3754, allocations: 35.97 kB / 0.8184 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.3754, allocations: 28 kB / 0.8184 GB, free: 11.44 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.0003218/0.3758, allocations: 211.8 kB / 0.8186 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.918e-05/0.3759, allocations: 55.34 kB / 0.8187 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.3769, allocations: 0.6123 MB / 0.8193 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.377, allocations: 4 kB / 0.8193 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.377, allocations: 3.984 kB / 0.8193 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.377, allocations: 7.922 kB / 0.8193 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.3788, allocations: 1.257 MB / 0.8205 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3788, allocations: 4 kB / 0.8205 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.379, allocations: 51.89 kB / 0.8206 GB, free: 9.121 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003977/0.3794, allocations: 152.3 kB / 0.8207 GB, free: 8.957 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.3795, allocations: 11.94 kB / 0.8207 GB, free: 8.945 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00301/0.3825, allocations: 4.037 MB / 0.8247 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3825, allocations: 4.031 kB / 0.8247 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.3835, allocations: 0.7038 MB / 0.8254 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.3838, allocations: 172.3 kB / 0.8255 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.3839, allocations: 7.938 kB / 0.8255 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002855/0.3842, allocations: 27.97 kB / 0.8255 GB, free: 3.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.3843, allocations: 31.91 kB / 0.8256 GB, free: 3.488 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.3843, allocations: 15.98 kB / 0.8256 GB, free: 3.473 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004138/0.3847, allocations: 326.9 kB / 0.8259 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.11e-07/0.3847, allocations: 0 / 0.8259 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007233/0.3855, allocations: 140 kB / 0.826 GB, free: 3.02 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.0001859/0.3857, allocations: 124.8 kB / 0.8262 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001499/0.3872, allocations: 1.028 MB / 0.8272 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3872, allocations: 0 / 0.8272 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008843/0.3881, allocations: 0.7468 MB / 0.8279 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.3893, allocations: 182 kB / 0.8281 GB, free: 0.7773 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.3914, allocations: 1.316 MB / 0.8294 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.3919, allocations: 0.9019 MB / 0.8302 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.3921, allocations: 47.42 kB / 0.8303 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.3921, allocations: 0 / 0.8303 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of Templates: time 0.02465/0.4167, allocations: 17.9 MB / 0.8478 GB, free: 12.55 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