Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 102.6 kB / 15.71 MB, free: 460 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.001243/0.001243, allocations: 175.5 kB / 16.58 MB, free: 6.402 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.516/1.516, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.818/2.818, allocations: 436.7 MB / 0.7113 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004153/0.0004158, allocations: 12 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8257/0.8261, allocations: 153.7 MB / 1.022 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.003072/0.8292, allocations: 2.256 MB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.8313, allocations: 1.314 MB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.8315, allocations: 3.938 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.8317, allocations: 27.84 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004319/0.8321, allocations: 99.55 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.8327, allocations: 147.6 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.833, allocations: 247.3 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005716/0.8336, allocations: 226 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.8338, allocations: 71.77 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.8341, allocations: 99.64 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.582e-05/0.8341, allocations: 4 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003025/0.8344, allocations: 107.8 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.93e-05/0.8345, allocations: 63.8 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 9.544e-05/0.8346, allocations: 45.64 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.835, allocations: 217.4 kB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.537e-06/0.835, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 4.308e-06/0.835, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.835, allocations: 0 / 1.027 GB, free: 12.14 MB / 0.7794 GB 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.0008129/0.8358, allocations: 443 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/0.8359, allocations: 15.98 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/0.8365, allocations: 59.75 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003452/0.8368, allocations: 230.7 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.8369, allocations: 12.23 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.8369, allocations: 12 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005124/0.8374, allocations: 283.6 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.8375, allocations: 0 / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.8375, allocations: 4 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.827e-05/0.8376, allocations: 20.22 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.8379, allocations: 212.5 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.8397, allocations: 1.58 MB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003912/0.8401, allocations: 319.3 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.8403, allocations: 73.61 kB / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.8403, allocations: 0 / 1.03 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.8403, allocations: 34.55 kB / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.21e-07/0.8403, allocations: 0 / 1.03 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005639/0.8409, allocations: 244.5 kB / 1.03 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.8409, allocations: 81.09 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.8412, allocations: 199.4 kB / 1.03 GB, free: 8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.8412, allocations: 25.7 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.8413, allocations: 159.8 kB / 1.03 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.8413, allocations: 39.45 kB / 1.03 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.8414, allocations: 0 / 1.03 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8415, allocations: 327 kB / 1.031 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.8416, allocations: 75.89 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.8418, allocations: 147 kB / 1.031 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.842, allocations: 95.91 kB / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.842, allocations: 0 / 1.031 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003779/0.8423, allocations: 261.2 kB / 1.031 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.8425, allocations: 167.7 kB / 1.031 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.8425, allocations: 4 kB / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.8425, allocations: 7.953 kB / 1.031 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.8427, allocations: 59.89 kB / 1.032 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.8428, allocations: 8.406 kB / 1.032 GB, free: 6.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.8429, allocations: 15.89 kB / 1.032 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.8429, allocations: 12 kB / 1.032 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.162e-06/0.8429, allocations: 4 kB / 1.032 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002775/0.8432, allocations: 195.6 kB / 1.032 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-06/0.8432, allocations: 4 kB / 1.032 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.8432, allocations: 4 kB / 1.032 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.8434, allocations: 51.91 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.8434, allocations: 11.92 kB / 1.032 GB, free: 6.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.275e-05/0.8435, allocations: 12 kB / 1.032 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.8436, allocations: 8 kB / 1.032 GB, free: 6.23 MB / 0.7794 GB 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.0001688/0.8437, allocations: 233.3 kB / 1.032 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.8438, allocations: 11.81 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.844, allocations: 139 kB / 1.032 GB, free: 5.84 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.8441, allocations: 4 kB / 1.032 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.8441, allocations: 0 / 1.032 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.8441, allocations: 3.984 kB / 1.032 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009227/0.845, allocations: 0.7196 MB / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.845, allocations: 0 / 1.033 GB, free: 5.027 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.943e-05/0.8451, allocations: 23.98 kB / 1.033 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.8451, allocations: 8.344 kB / 1.033 GB, free: 4.996 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.8451, allocations: 8 kB / 1.033 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.8452, allocations: 8.078 kB / 1.033 GB, free: 4.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.8452, allocations: 7.938 kB / 1.033 GB, free: 4.973 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/0.8455, allocations: 378.2 kB / 1.033 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.356e-05/0.8456, allocations: 108.8 kB / 1.033 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.129e-05/0.8456, allocations: 8 kB / 1.033 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.8458, allocations: 11.98 kB / 1.033 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.8458, allocations: 15.94 kB / 1.033 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.8459, allocations: 8 kB / 1.033 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001281/0.846, allocations: 149.1 kB / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.846, allocations: 0 / 1.034 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004834/0.8465, allocations: 64 kB / 1.034 GB, free: 4.184 MB / 0.7794 GB 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.00016/0.8466, allocations: 111.2 kB / 1.034 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000391/0.847, allocations: 264.8 kB / 1.034 GB, free: 3.805 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8471, allocations: 4 kB / 1.034 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.462e-05/0.8472, allocations: 64.34 kB / 1.034 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.8476, allocations: 36.11 kB / 1.034 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007422/0.8484, allocations: 0.5229 MB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.8487, allocations: 0.7363 MB / 1.035 GB, free: 2.355 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.8488, allocations: 23.42 kB / 1.035 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.8488, allocations: 4 kB / 1.035 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of Templates: time 0.003973/0.8528, allocations: 2.184 MB / 1.038 GB, free: 152 kB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.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 OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSourceCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSourceCalcHelperMain.o] Error 1