Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009144, allocations: 91.77 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.0008461/0.0008462, allocations: 178.9 kB / 16.92 MB, free: 6.652 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.338/1.338, allocations: 223.2 MB / 240.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001739/0.001739, allocations: 267.1 kB / 292.3 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9226/0.9226, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004322, allocations: 15.59 kB / 0.5993 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 88.55 MB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003538/0.1696, allocations: 2.703 MB / 0.6884 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1724, allocations: 1.716 MB / 0.6901 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001965/0.1726, allocations: 7.938 kB / 0.6901 GB, free: 10.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.1728, allocations: 35.7 kB / 0.6901 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005407/0.1733, allocations: 185.1 kB / 0.6903 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006722/0.174, allocations: 228.9 kB / 0.6905 GB, free: 10.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005726/0.1746, allocations: 0.4947 MB / 0.691 GB, free: 9.66 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008061/0.1754, allocations: 417.3 kB / 0.6914 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.1757, allocations: 127.4 kB / 0.6915 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.1761, allocations: 171.4 kB / 0.6917 GB, free: 8.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.314e-05/0.1761, allocations: 12 kB / 0.6917 GB, free: 8.945 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.1766, allocations: 315.4 kB / 0.692 GB, free: 8.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.1767, allocations: 79.72 kB / 0.6921 GB, free: 8.559 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.1769, allocations: 153 kB / 0.6922 GB, free: 8.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.1773, allocations: 355.1 kB / 0.6926 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1774, allocations: 0 / 0.6926 GB, free: 8.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1774, allocations: 0 / 0.6926 GB, free: 8.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1774, allocations: 3.938 kB / 0.6926 GB, free: 8.051 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001139/0.1785, allocations: 0.5942 MB / 0.6932 GB, free: 7.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1786, allocations: 8.031 kB / 0.6932 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000722/0.1793, allocations: 96.56 kB / 0.6933 GB, free: 7.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.1797, allocations: 287.5 kB / 0.6935 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.1797, allocations: 20.8 kB / 0.6936 GB, free: 6.961 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.974e-05/0.1798, allocations: 20.38 kB / 0.6936 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.1806, allocations: 430.9 kB / 0.694 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1806, allocations: 4 kB / 0.694 GB, free: 6.484 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.417e-05/0.1807, allocations: 8 kB / 0.694 GB, free: 6.477 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-05/0.1807, allocations: 24.36 kB / 0.694 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009038/0.1816, allocations: 416.7 kB / 0.6944 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1834, allocations: 1.607 MB / 0.696 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1846, allocations: 485.8 kB / 0.6964 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004245/0.185, allocations: 209.6 kB / 0.6966 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1852, allocations: 97.06 kB / 0.6967 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005488/0.1857, allocations: 276.1 kB / 0.697 GB, free: 3.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=27): time 2.164e-06/0.1857, allocations: 0 / 0.697 GB, free: 3.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=28): time 0.001786/0.1875, allocations: 0.785 MB / 0.6978 GB, free: 2.391 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1876, allocations: 85.05 kB / 0.6979 GB, free: 2.289 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1878, allocations: 228.9 kB / 0.6981 GB, free: 2.059 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.1878, allocations: 29.7 kB / 0.6981 GB, free: 2.023 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.316e-05/0.1879, allocations: 168.3 kB / 0.6983 GB, free: 1.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.188, allocations: 94.64 kB / 0.6984 GB, free: 1.758 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.1881, allocations: 33.7 kB / 0.6984 GB, free: 1.719 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1882, allocations: 338.8 kB / 0.6987 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004224/0.1886, allocations: 176.2 kB / 0.6989 GB, free: 1.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.1891, allocations: 266.3 kB / 0.6991 GB, free: 0.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009102/0.19, allocations: 484.2 kB / 0.6996 GB, free: 420 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.19, allocations: 0 / 0.6996 GB, free: 420 kB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001149/0.1912, allocations: 0.568 MB / 0.7001 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/0.1913, allocations: 175.1 kB / 0.7003 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1913, allocations: 4 kB / 0.7003 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/0.1916, allocations: 44.81 kB / 0.7004 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.192, allocations: 99.8 kB / 0.7005 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.1933, allocations: 1.493 MB / 0.7019 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.1936, allocations: 47.8 kB / 0.702 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.1937, allocations: 19.98 kB / 0.702 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-06/0.1937, allocations: 7.938 kB / 0.702 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001091/0.1948, allocations: 0.4982 MB / 0.7025 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1948, allocations: 4 kB / 0.7025 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001254/0.1949, allocations: 36.83 kB / 0.7025 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.1953, allocations: 95.95 kB / 0.7026 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.1965, allocations: 1.493 MB / 0.7041 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.1968, allocations: 47.8 kB / 0.7041 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/0.1968, allocations: 19.98 kB / 0.7041 GB, free: 11.43 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002114/0.1971, allocations: 236.6 kB / 0.7043 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.1971, allocations: 27.66 kB / 0.7044 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.1982, allocations: 491.8 kB / 0.7048 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1982, allocations: 7.938 kB / 0.7049 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1982, allocations: 8 kB / 0.7049 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1982, allocations: 3.984 kB / 0.7049 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006507/0.1989, allocations: 0.5622 MB / 0.7054 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.1989, allocations: 4.062 kB / 0.7054 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003738/0.1993, allocations: 87.95 kB / 0.7055 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001284/0.1994, allocations: 36.83 kB / 0.7055 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.1995, allocations: 4 kB / 0.7055 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.2005, allocations: 1.424 MB / 0.7069 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2005, allocations: 0 / 0.7069 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.2016, allocations: 0.5615 MB / 0.7075 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001293/0.2017, allocations: 132.7 kB / 0.7076 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.2017, allocations: 7.984 kB / 0.7076 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000332/0.2021, allocations: 43.95 kB / 0.7077 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.888e-05/0.2022, allocations: 27.97 kB / 0.7077 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.2022, allocations: 11.98 kB / 0.7077 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001515/0.2024, allocations: 172.5 kB / 0.7079 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2024, allocations: 0 / 0.7079 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005653/0.2029, allocations: 131.9 kB / 0.708 GB, free: 7.215 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001592/0.2031, allocations: 115.2 kB / 0.7081 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.2049, allocations: 1.016 MB / 0.7091 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.205, allocations: 0 / 0.7091 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006073/0.2056, allocations: 334.9 kB / 0.7094 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.206, allocations: 49.47 kB / 0.7095 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.2073, allocations: 0.7835 MB / 0.7102 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.2076, allocations: 0.7839 MB / 0.711 GB, free: 4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.2078, allocations: 27.44 kB / 0.711 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of SimCode: time 4.61e-07/0.2078, allocations: 0 / 0.711 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of Templates: time 0.007814/0.2156, allocations: 5.085 MB / 0.716 GB, free: 14.89 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSourceCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.o] Error 1