Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 100.1 kB / 15.88 MB, free: 12 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.001677/0.001677, allocations: 198.9 kB / 16.79 MB, free: 6.863 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.853/1.853, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00281/0.00281, allocations: 298.7 kB / 290.9 MB, free: 2.047 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 169.2 MB / 0.4983 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 98.16 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2218, allocations: 86.98 MB / 0.6801 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.00542/0.2272, allocations: 2.682 MB / 0.6827 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.2296, allocations: 1.317 MB / 0.684 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.2297, allocations: 11.94 kB / 0.684 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007469/0.2305, allocations: 159.4 kB / 0.6842 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.2309, allocations: 159.4 kB / 0.6843 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.2313, allocations: 147.8 kB / 0.6844 GB, free: 12.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.2317, allocations: 363 kB / 0.6848 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004694/0.2322, allocations: 145.6 kB / 0.6849 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.2324, allocations: 91.69 kB / 0.685 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003134/0.2327, allocations: 131.5 kB / 0.6851 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.2327, allocations: 12 kB / 0.6852 GB, free: 11.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.2331, allocations: 191.6 kB / 0.6853 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.2332, allocations: 59.81 kB / 0.6854 GB, free: 11.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.2333, allocations: 87.53 kB / 0.6855 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.2338, allocations: 219.5 kB / 0.6857 GB, free: 11.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2338, allocations: 0 / 0.6857 GB, free: 11.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2338, allocations: 0 / 0.6857 GB, free: 11.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.2338, allocations: 0 / 0.6857 GB, free: 11.43 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.00113/0.235, allocations: 0.4894 MB / 0.6862 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.278e-05/0.2351, allocations: 15.97 kB / 0.6862 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006625/0.2357, allocations: 64.58 kB / 0.6862 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.2361, allocations: 236 kB / 0.6865 GB, free: 10.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.2361, allocations: 12.66 kB / 0.6865 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.672e-05/0.2362, allocations: 16.36 kB / 0.6865 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006766/0.2369, allocations: 308.8 kB / 0.6868 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2369, allocations: 0 / 0.6868 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.2369, allocations: 7.938 kB / 0.6868 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.237, allocations: 32.25 kB / 0.6868 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006326/0.2376, allocations: 264.5 kB / 0.6871 GB, free: 9.895 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00222/0.2399, allocations: 1.498 MB / 0.6885 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.2405, allocations: 265 kB / 0.6888 GB, free: 7.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/0.2408, allocations: 121.6 kB / 0.6889 GB, free: 7.848 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.2409, allocations: 4 kB / 0.6889 GB, free: 7.844 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.2409, allocations: 42.5 kB / 0.689 GB, free: 7.793 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.2409, allocations: 0 / 0.689 GB, free: 7.793 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0009472/0.2419, allocations: 339.5 kB / 0.6893 GB, free: 7.457 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/0.242, allocations: 81.11 kB / 0.6894 GB, free: 7.359 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.2421, allocations: 170.7 kB / 0.6895 GB, free: 7.184 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2422, allocations: 29.7 kB / 0.6896 GB, free: 7.148 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.724e-05/0.2423, allocations: 148.1 kB / 0.6897 GB, free: 7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.686e-05/0.2423, allocations: 55.19 kB / 0.6897 GB, free: 6.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.2424, allocations: 49.69 kB / 0.6898 GB, free: 6.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.2426, allocations: 330.7 kB / 0.6901 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2428, allocations: 104.8 kB / 0.6902 GB, free: 6.453 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.2431, allocations: 173.5 kB / 0.6904 GB, free: 6.258 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.2436, allocations: 279.6 kB / 0.6906 GB, free: 5.961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2436, allocations: 4 kB / 0.6906 GB, free: 5.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006383/0.2442, allocations: 315.6 kB / 0.6909 GB, free: 5.645 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.2443, allocations: 4 kB / 0.691 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.2443, allocations: 4 kB / 0.691 GB, free: 5.637 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.2443, allocations: 4 kB / 0.691 GB, free: 5.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.2446, allocations: 51.89 kB / 0.691 GB, free: 5.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.2446, allocations: 4 kB / 0.691 GB, free: 5.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001877/0.2448, allocations: 39.81 kB / 0.691 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.2449, allocations: 4 kB / 0.6911 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003499/0.2452, allocations: 200.8 kB / 0.6912 GB, free: 5.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002191/0.2454, allocations: 148.5 kB / 0.6914 GB, free: 5.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000463/0.2459, allocations: 255.5 kB / 0.6916 GB, free: 4.883 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.104e-06/0.2459, allocations: 0 / 0.6916 GB, free: 4.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005409/0.2465, allocations: 279.2 kB / 0.6919 GB, free: 4.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.2465, allocations: 8 kB / 0.6919 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.2465, allocations: 0 / 0.6919 GB, free: 4.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.979e-06/0.2465, allocations: 4.25 kB / 0.6919 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002791/0.2468, allocations: 59.89 kB / 0.692 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2468, allocations: 3.938 kB / 0.692 GB, free: 4.531 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001659/0.247, allocations: 27.83 kB / 0.692 GB, free: 4.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.247, allocations: 12 kB / 0.692 GB, free: 4.492 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.2472, allocations: 197.9 kB / 0.6922 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.016e-05/0.2472, allocations: 19.8 kB / 0.6922 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000545/0.2478, allocations: 270.9 kB / 0.6925 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.2478, allocations: 4 kB / 0.6925 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2478, allocations: 0 / 0.6925 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2478, allocations: 3.984 kB / 0.6925 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.249, allocations: 0.681 MB / 0.6931 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.249, allocations: 0 / 0.6931 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.2492, allocations: 47.95 kB / 0.6932 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2493, allocations: 0 / 0.6932 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.019e-05/0.2493, allocations: 11.92 kB / 0.6932 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.2493, allocations: 4 kB / 0.6932 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2493, allocations: 3.938 kB / 0.6932 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006169/0.2499, allocations: 443.8 kB / 0.6936 GB, free: 2.719 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.25, allocations: 120.8 kB / 0.6937 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.403e-05/0.2501, allocations: 7.938 kB / 0.6938 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.2503, allocations: 23.97 kB / 0.6938 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.528e-05/0.2504, allocations: 15.92 kB / 0.6938 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/0.2504, allocations: 4 kB / 0.6938 GB, free: 2.531 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.2505, allocations: 135.7 kB / 0.6939 GB, free: 2.398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2505, allocations: 0 / 0.6939 GB, free: 2.398 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.251, allocations: 79.84 kB / 0.694 GB, free: 2.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000152/0.2512, allocations: 107.2 kB / 0.6941 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008281/0.252, allocations: 375.4 kB / 0.6945 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.2521, allocations: 0.9375 kB / 0.6945 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002115/0.2523, allocations: 120.1 kB / 0.6946 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005702/0.2529, allocations: 40.52 kB / 0.6946 GB, free: 1.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008793/0.2537, allocations: 0.5286 MB / 0.6951 GB, free: 1.109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.2541, allocations: 0.748 MB / 0.6959 GB, free: 344 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.577e-05/0.2542, allocations: 19.44 kB / 0.6959 GB, free: 324 kB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2542, allocations: 3.938 kB / 0.6959 GB, free: 320 kB / 494.1 MB Notification: Performance of Templates: time 0.004581/0.2588, allocations: 2.582 MB / 0.6984 GB, free: 13.75 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistorsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.ParallelResistorsCalcHelperMain.o] Error 1