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.0008709/0.000871, allocations: 99.34 kB / 16.02 MB, free: 72 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.001446/0.001446, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.029/2.029, allocations: 205.4 MB / 223.1 MB, free: 5.754 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.886/1.886, allocations: 292.7 MB / 0.5509 GB, free: 14.48 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.0005411/0.0005411, allocations: 12.16 kB / 0.675 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3528, allocations: 116.3 MB / 0.7885 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.005421/0.3584, allocations: 3.233 MB / 0.7917 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.362, allocations: 1.762 MB / 0.7934 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001795/0.3622, allocations: 4 kB / 0.7934 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.3624, allocations: 35.7 kB / 0.7935 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006624/0.3631, allocations: 179.2 kB / 0.7936 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008218/0.3639, allocations: 238.5 kB / 0.7939 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006403/0.3646, allocations: 0.4907 MB / 0.7943 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.3655, allocations: 414.9 kB / 0.7947 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002736/0.3658, allocations: 127.5 kB / 0.7949 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.3662, allocations: 179.3 kB / 0.795 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.3663, allocations: 12 kB / 0.795 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006025/0.3669, allocations: 299.4 kB / 0.7953 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.3671, allocations: 83.78 kB / 0.7954 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.3674, allocations: 160.9 kB / 0.7956 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.3678, allocations: 351.1 kB / 0.7959 GB, free: 4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3679, allocations: 0 / 0.7959 GB, free: 4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.727e-06/0.3679, allocations: 0 / 0.7959 GB, free: 4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.276e-06/0.3679, allocations: 0 / 0.7959 GB, free: 4 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.001538/0.3694, allocations: 0.6059 MB / 0.7965 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.3695, allocations: 8.031 kB / 0.7965 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008015/0.3703, allocations: 96.47 kB / 0.7966 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.3708, allocations: 283.5 kB / 0.7969 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.3708, allocations: 16.75 kB / 0.7969 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.256e-05/0.3709, allocations: 20.38 kB / 0.7969 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/0.3718, allocations: 434.9 kB / 0.7973 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.3718, allocations: 3.938 kB / 0.7973 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.3718, allocations: 11.98 kB / 0.7973 GB, free: 2.414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.185e-05/0.3719, allocations: 24.36 kB / 0.7973 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.3731, allocations: 416.8 kB / 0.7977 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.3754, allocations: 1.619 MB / 0.7993 GB, free: 240 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.3767, allocations: 487.5 kB / 0.7998 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/0.3772, allocations: 217.5 kB / 0.8 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002092/0.3774, allocations: 89.09 kB / 0.8001 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006254/0.3781, allocations: 278.5 kB / 0.8003 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=27): time 2.434e-06/0.3781, allocations: 4 kB / 0.8003 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28): time 0.002252/0.3803, allocations: 0.7868 MB / 0.8011 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/0.3804, allocations: 89.11 kB / 0.8012 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.3808, allocations: 221 kB / 0.8014 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.3808, allocations: 29.7 kB / 0.8014 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.381, allocations: 176.2 kB / 0.8016 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.596e-05/0.3811, allocations: 90.73 kB / 0.8017 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.3812, allocations: 29.7 kB / 0.8017 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.3814, allocations: 338.8 kB / 0.802 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004728/0.3819, allocations: 180.2 kB / 0.8022 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.3824, allocations: 261.3 kB / 0.8025 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.3835, allocations: 479.4 kB / 0.8029 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3835, allocations: 0 / 0.8029 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001348/0.3849, allocations: 0.5669 MB / 0.8035 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002811/0.3852, allocations: 186.5 kB / 0.8037 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3852, allocations: 0 / 0.8037 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/0.3855, allocations: 40.81 kB / 0.8037 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004428/0.386, allocations: 95.86 kB / 0.8038 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001889/0.3879, allocations: 1.493 MB / 0.8052 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3883, allocations: 47.8 kB / 0.8053 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.3883, allocations: 19.98 kB / 0.8053 GB, free: 9.703 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3883, allocations: 4 kB / 0.8053 GB, free: 9.699 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.3896, allocations: 0.4944 MB / 0.8058 GB, free: 9.195 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.3896, allocations: 4 kB / 0.8058 GB, free: 9.191 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.3897, allocations: 52.88 kB / 0.8058 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.3901, allocations: 87.97 kB / 0.8059 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.3921, allocations: 1.489 MB / 0.8074 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.3924, allocations: 51.8 kB / 0.8074 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.3925, allocations: 12 kB / 0.8074 GB, free: 7.359 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 (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.000388/0.3929, allocations: 237 kB / 0.8077 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.753e-05/0.393, allocations: 27.66 kB / 0.8077 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.3943, allocations: 488.7 kB / 0.8082 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.3943, allocations: 0 / 0.8082 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3943, allocations: 4 kB / 0.8082 GB, free: 6.602 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.3943, allocations: 4 kB / 0.8082 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.3952, allocations: 0.5738 MB / 0.8087 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3953, allocations: 4 kB / 0.8087 GB, free: 5.957 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.3957, allocations: 79.86 kB / 0.8088 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001428/0.3958, allocations: 40.92 kB / 0.8089 GB, free: 5.836 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.3959, allocations: 8 kB / 0.8089 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.3976, allocations: 1.417 MB / 0.8102 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3976, allocations: 0 / 0.8102 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.3987, allocations: 0.5693 MB / 0.8108 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.3989, allocations: 132.6 kB / 0.8109 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.399, allocations: 8 kB / 0.8109 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/0.3993, allocations: 39.95 kB / 0.811 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.3995, allocations: 31.89 kB / 0.811 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.3995, allocations: 20 kB / 0.811 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002117/0.3997, allocations: 172.5 kB / 0.8112 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3997, allocations: 0 / 0.8112 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007327/0.4005, allocations: 131.9 kB / 0.8113 GB, free: 3.129 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 (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.0002785/0.4007, allocations: 107.2 kB / 0.8114 GB, free: 3.012 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.4029, allocations: 1.021 MB / 0.8124 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4029, allocations: 0 / 0.8124 GB, free: 1.941 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006865/0.4036, allocations: 334.8 kB / 0.8127 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.4042, allocations: 40.42 kB / 0.8128 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.4058, allocations: 0.7798 MB / 0.8135 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006652/0.4064, allocations: 0.7839 MB / 0.8143 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.4066, allocations: 27.44 kB / 0.8143 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of SimCode: time 9.22e-07/0.4066, allocations: 4 kB / 0.8143 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.009434/0.416, allocations: 5.088 MB / 0.8193 GB, free: 10.82 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++ -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.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