Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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 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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 100.5 kB / 15.71 MB, free: 452 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.001585/0.001585, allocations: 174.9 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.783/1.783, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0005436/0.0005438, allocations: 17.66 kB / 0.6744 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3318, allocations: 116.3 MB / 0.7879 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.004984/0.3369, allocations: 3.117 MB / 0.791 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003192/0.3402, allocations: 1.65 MB / 0.7926 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001543/0.3403, allocations: 4 kB / 0.7926 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.3406, allocations: 35.7 kB / 0.7926 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.3411, allocations: 151.3 kB / 0.7928 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.3417, allocations: 188.9 kB / 0.7929 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.3422, allocations: 418.6 kB / 0.7933 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000876/0.3431, allocations: 378.5 kB / 0.7937 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.3433, allocations: 135.5 kB / 0.7938 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.3437, allocations: 167.4 kB / 0.794 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.3437, allocations: 12 kB / 0.794 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.3441, allocations: 143.8 kB / 0.7941 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3442, allocations: 79.77 kB / 0.7942 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.801e-05/0.3443, allocations: 69.58 kB / 0.7943 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.3447, allocations: 347.4 kB / 0.7946 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3447, allocations: 0 / 0.7946 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3447, allocations: 0 / 0.7946 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.3447, allocations: 0 / 0.7946 GB, free: 5.02 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.00116/0.3459, allocations: 0.6057 MB / 0.7952 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3459, allocations: 12.02 kB / 0.7952 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006626/0.3466, allocations: 103.5 kB / 0.7953 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.347, allocations: 274.3 kB / 0.7956 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.347, allocations: 12.44 kB / 0.7956 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.092e-05/0.3471, allocations: 20 kB / 0.7956 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008202/0.3479, allocations: 434.5 kB / 0.796 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.3479, allocations: 0 / 0.796 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.348, allocations: 11.98 kB / 0.796 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.067e-05/0.348, allocations: 28.34 kB / 0.7961 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008857/0.3489, allocations: 416.5 kB / 0.7965 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.3508, allocations: 1.619 MB / 0.798 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.352, allocations: 485.2 kB / 0.7985 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.3524, allocations: 209.5 kB / 0.7987 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000187/0.3526, allocations: 89.09 kB / 0.7988 GB, free: 460 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005554/0.3532, allocations: 282.5 kB / 0.7991 GB, free: 160 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=27): time 1.683e-06/0.3532, allocations: 0 / 0.7991 GB, free: 160 kB / 0.6075 GB Notification: Performance of matching and sorting (n=28): time 0.001931/0.3551, allocations: 0.7858 MB / 0.7998 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.3552, allocations: 85.05 kB / 0.7999 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.3554, allocations: 224.9 kB / 0.8001 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.3555, allocations: 37.64 kB / 0.8002 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3556, allocations: 160.4 kB / 0.8003 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.336e-05/0.3557, allocations: 94.66 kB / 0.8004 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.23e-05/0.3557, allocations: 8 kB / 0.8004 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3559, allocations: 334.8 kB / 0.8007 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.3563, allocations: 180.2 kB / 0.8009 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.3568, allocations: 257.3 kB / 0.8011 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.3573, allocations: 233.8 kB / 0.8014 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3573, allocations: 0 / 0.8014 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001115/0.3584, allocations: 0.5565 MB / 0.8019 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/0.3586, allocations: 190.5 kB / 0.8021 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3586, allocations: 4 kB / 0.8021 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002484/0.3588, allocations: 48.7 kB / 0.8021 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.3592, allocations: 95.86 kB / 0.8022 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.3611, allocations: 1.493 MB / 0.8037 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003296/0.3615, allocations: 51.8 kB / 0.8037 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3615, allocations: 16 kB / 0.8038 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3616, allocations: 4 kB / 0.8038 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001095/0.3627, allocations: 0.4904 MB / 0.8042 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3627, allocations: 4 kB / 0.8042 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.3628, allocations: 48.75 kB / 0.8043 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.3632, allocations: 84.03 kB / 0.8044 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.3646, allocations: 1.485 MB / 0.8058 GB, free: 8.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002801/0.3649, allocations: 51.92 kB / 0.8059 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.746e-05/0.3649, allocations: 12 kB / 0.8059 GB, free: 8.711 MB / 0.6231 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 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.3652, allocations: 245 kB / 0.8061 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.3652, allocations: 23.72 kB / 0.8061 GB, free: 8.438 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/0.3663, allocations: 496.5 kB / 0.8066 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.3663, allocations: 4 kB / 0.8066 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3663, allocations: 0 / 0.8066 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3663, allocations: 4 kB / 0.8066 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006927/0.367, allocations: 0.57 MB / 0.8072 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.367, allocations: 3.984 kB / 0.8072 GB, free: 7.301 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003487/0.3674, allocations: 79.86 kB / 0.8072 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000119/0.3675, allocations: 36.92 kB / 0.8073 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.3675, allocations: 8 kB / 0.8073 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001198/0.3687, allocations: 1.413 MB / 0.8087 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3688, allocations: 3.938 kB / 0.8087 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.3698, allocations: 0.5615 MB / 0.8092 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.37, allocations: 140.6 kB / 0.8094 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.37, allocations: 4 kB / 0.8094 GB, free: 4.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.3703, allocations: 39.95 kB / 0.8094 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.3704, allocations: 39.98 kB / 0.8094 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.3705, allocations: 15.98 kB / 0.8095 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002003/0.3707, allocations: 168.5 kB / 0.8096 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3707, allocations: 0 / 0.8096 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006553/0.3713, allocations: 128 kB / 0.8097 GB, free: 4.488 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002677/0.3716, allocations: 115.2 kB / 0.8098 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002072/0.3737, allocations: 1.017 MB / 0.8108 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3737, allocations: 0 / 0.8108 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.3743, allocations: 334.8 kB / 0.8112 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.3748, allocations: 40.41 kB / 0.8112 GB, free: 2.918 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.3762, allocations: 0.7778 MB / 0.812 GB, free: 2.105 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.3766, allocations: 0.7839 MB / 0.8127 GB, free: 1.289 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.3768, allocations: 31.42 kB / 0.8128 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of SimCode: time 9.42e-07/0.3768, allocations: 0 / 0.8128 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of Templates: time 0.00822/0.385, allocations: 5.096 MB / 0.8177 GB, free: 12.17 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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 OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSourceCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSourceCalcHelperMain.o] Error 1