Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007347/0.000735, allocations: 93.72 kB / 16.33 MB, free: 5.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008786/0.0008788, allocations: 183 kB / 17.22 MB, free: 5.48 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: 223.2 MB / 241.2 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7775/0.7775, allocations: 114.3 MB / 406.7 MB, free: 8.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003421/0.0003426, allocations: 8 kB / 494.5 MB, free: 1.457 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4781/0.4784, allocations: 77.25 MB / 0.5583 GB, free: 36.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002992/0.4815, allocations: 2.051 MB / 0.5603 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.4836, allocations: 1.311 MB / 0.5616 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.4837, allocations: 6.344 kB / 0.5616 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001704/0.4839, allocations: 23.33 kB / 0.5616 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004127/0.4843, allocations: 100.3 kB / 0.5617 GB, free: 34.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004457/0.4848, allocations: 141.4 kB / 0.5619 GB, free: 34.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004439/0.4852, allocations: 251.2 kB / 0.5621 GB, free: 34.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006449/0.4859, allocations: 230.5 kB / 0.5623 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001894/0.4861, allocations: 68.94 kB / 0.5624 GB, free: 34.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.4864, allocations: 106.2 kB / 0.5625 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.4864, allocations: 5.062 kB / 0.5625 GB, free: 34.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002612/0.4867, allocations: 107.1 kB / 0.5626 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.403e-05/0.4868, allocations: 50.75 kB / 0.5626 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.275e-05/0.4869, allocations: 59.08 kB / 0.5627 GB, free: 34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003612/0.4872, allocations: 212.8 kB / 0.5629 GB, free: 33.95 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4873, allocations: 0 / 0.5629 GB, free: 33.95 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.995e-06/0.4873, allocations: 1.438 kB / 0.5629 GB, free: 33.95 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.4873, allocations: 0 / 0.5629 GB, free: 33.95 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007009/0.488, allocations: 435 kB / 0.5633 GB, free: 33.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.488, allocations: 10.08 kB / 0.5633 GB, free: 33.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005516/0.4886, allocations: 64.62 kB / 0.5634 GB, free: 33.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.4889, allocations: 228.3 kB / 0.5636 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.4889, allocations: 14.78 kB / 0.5636 GB, free: 33.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.4889, allocations: 15.08 kB / 0.5636 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.4894, allocations: 276.1 kB / 0.5639 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.4895, allocations: 9.141 kB / 0.5639 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.4895, allocations: 5.906 kB / 0.5639 GB, free: 33.1 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.957e-05/0.4896, allocations: 24.03 kB / 0.5639 GB, free: 33.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000399/0.49, allocations: 205.6 kB / 0.5641 GB, free: 33.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001727/0.4917, allocations: 1.589 MB / 0.5657 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/0.4921, allocations: 315.3 kB / 0.566 GB, free: 31.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/0.4922, allocations: 68.52 kB / 0.5661 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.4923, allocations: 1.75 kB / 0.5661 GB, free: 31.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4923, allocations: 35.73 kB / 0.5661 GB, free: 31.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.183e-06/0.4923, allocations: 0 / 0.5661 GB, free: 31.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006414/0.493, allocations: 238.2 kB / 0.5663 GB, free: 31.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.493, allocations: 79.23 kB / 0.5664 GB, free: 31.09 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.4933, allocations: 191.7 kB / 0.5666 GB, free: 30.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4933, allocations: 30.33 kB / 0.5666 GB, free: 30.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4934, allocations: 163 kB / 0.5668 GB, free: 30.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.4934, allocations: 31.61 kB / 0.5668 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.4934, allocations: 7.094 kB / 0.5668 GB, free: 30.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4936, allocations: 330.5 kB / 0.5671 GB, free: 30.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.4937, allocations: 70.22 kB / 0.5672 GB, free: 30.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.4939, allocations: 151.5 kB / 0.5673 GB, free: 30.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.4941, allocations: 98.61 kB / 0.5674 GB, free: 30.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4941, allocations: 1.594 kB / 0.5674 GB, free: 30.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004363/0.4945, allocations: 257.5 kB / 0.5677 GB, free: 30.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.831e-05/0.4946, allocations: 170.5 kB / 0.5678 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4946, allocations: 2.594 kB / 0.5678 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.4947, allocations: 10.56 kB / 0.5678 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4949, allocations: 50.78 kB / 0.5679 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4949, allocations: 9.625 kB / 0.5679 GB, free: 29.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.4951, allocations: 15.61 kB / 0.5679 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.4951, allocations: 14.03 kB / 0.5679 GB, free: 29.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.497e-06/0.4951, allocations: 5.281 kB / 0.5679 GB, free: 29.92 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000337/0.4955, allocations: 197.1 kB / 0.5681 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4955, allocations: 4.75 kB / 0.5681 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.195e-06/0.4955, allocations: 4.469 kB / 0.5681 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.4957, allocations: 51.41 kB / 0.5682 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4957, allocations: 10.5 kB / 0.5682 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.694e-05/0.4958, allocations: 7.312 kB / 0.5682 GB, free: 29.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.4958, allocations: 13.8 kB / 0.5682 GB, free: 29.83 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.496, allocations: 220.5 kB / 0.5684 GB, free: 29.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.318e-05/0.496, allocations: 19.27 kB / 0.5684 GB, free: 29.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002762/0.4963, allocations: 140.7 kB / 0.5686 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.4963, allocations: 2.922 kB / 0.5686 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4964, allocations: 0.9688 kB / 0.5686 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4964, allocations: 1.75 kB / 0.5686 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.4973, allocations: 0.7199 MB / 0.5693 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4973, allocations: 7.547 kB / 0.5693 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.4975, allocations: 22.86 kB / 0.5693 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.4975, allocations: 5.781 kB / 0.5693 GB, free: 28.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.4975, allocations: 8.266 kB / 0.5693 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.4975, allocations: 3.891 kB / 0.5693 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.4975, allocations: 7.219 kB / 0.5693 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.4978, allocations: 387.5 kB / 0.5697 GB, free: 28.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/0.4979, allocations: 104.8 kB / 0.5698 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.498, allocations: 5.172 kB / 0.5698 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.4981, allocations: 14.05 kB / 0.5698 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.4982, allocations: 13.14 kB / 0.5698 GB, free: 28.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.4982, allocations: 6.75 kB / 0.5698 GB, free: 28.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.4983, allocations: 150.3 kB / 0.57 GB, free: 28.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4983, allocations: 0 / 0.57 GB, free: 28.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.4989, allocations: 67.44 kB / 0.57 GB, free: 28.43 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001651/0.499, allocations: 112.8 kB / 0.5702 GB, free: 28.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004789/0.4995, allocations: 265 kB / 0.5704 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4995, allocations: 0.7812 kB / 0.5704 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4996, allocations: 58.55 kB / 0.5705 GB, free: 28.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.5001, allocations: 33.17 kB / 0.5705 GB, free: 28.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008191/0.501, allocations: 0.533 MB / 0.571 GB, free: 27.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.5012, allocations: 0.7359 MB / 0.5717 GB, free: 27.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.5013, allocations: 23.55 kB / 0.5718 GB, free: 27.13 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5013, allocations: 0.875 kB / 0.5718 GB, free: 27.13 MB / 446.1 MB Notification: Performance of Templates: time 0.005465/0.5068, allocations: 2.196 MB / 0.5739 GB, free: 26.98 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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 OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.o] Error 1