Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 102.7 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.001248/0.001248, allocations: 177.2 kB / 16.58 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.473/1.473, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.685/2.685, allocations: 436.7 MB / 0.7113 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004032, allocations: 8 kB / 0.8717 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7243/0.7247, allocations: 153.7 MB / 1.022 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002787/0.7276, allocations: 2.073 MB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.7296, allocations: 1.314 MB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.514e-05/0.7297, allocations: 3.938 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.7299, allocations: 27.78 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.7302, allocations: 107.5 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.7306, allocations: 139.7 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.7309, allocations: 251.2 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.7314, allocations: 222 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.7315, allocations: 71.75 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.7317, allocations: 95.66 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.7318, allocations: 8 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.732, allocations: 107.8 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.732, allocations: 55.86 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.886e-05/0.7321, allocations: 53.58 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.7324, allocations: 213.5 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.7324, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7324, allocations: 0 / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7324, allocations: 0 / 1.026 GB, free: 12.52 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.0006345/0.733, allocations: 443 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.7331, allocations: 19.98 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/0.7336, allocations: 59.75 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.7338, allocations: 222.8 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.7339, allocations: 12.23 kB / 1.027 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.7339, allocations: 15.98 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.7343, allocations: 287.7 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.7344, allocations: 3.938 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.7344, allocations: 4 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.7344, allocations: 20.22 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/0.7348, allocations: 204.5 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.7364, allocations: 1.58 MB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.7368, allocations: 319.3 kB / 1.029 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.7369, allocations: 65.69 kB / 1.029 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.7369, allocations: 3.938 kB / 1.029 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.7369, allocations: 30.56 kB / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.7369, allocations: 0 / 1.03 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005623/0.7375, allocations: 249 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.7376, allocations: 81.3 kB / 1.03 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.7378, allocations: 203.3 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.7378, allocations: 29.7 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.7379, allocations: 155.6 kB / 1.03 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.738, allocations: 35.45 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.738, allocations: 4 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7381, allocations: 330.8 kB / 1.031 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.7382, allocations: 67.95 kB / 1.031 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.7384, allocations: 151 kB / 1.031 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.7385, allocations: 95.91 kB / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.7385, allocations: 0 / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003682/0.7389, allocations: 257.3 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.739, allocations: 167.6 kB / 1.031 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.739, allocations: 4 kB / 1.031 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.7391, allocations: 11.98 kB / 1.031 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.7393, allocations: 59.89 kB / 1.031 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.7393, allocations: 7.938 kB / 1.031 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.7394, allocations: 19.89 kB / 1.031 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.7395, allocations: 12 kB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/0.7395, allocations: 4 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000272/0.7398, allocations: 195.9 kB / 1.032 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.7398, allocations: 4 kB / 1.032 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.7398, allocations: 4 kB / 1.032 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.74, allocations: 51.91 kB / 1.032 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.74, allocations: 7.938 kB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.016e-05/0.7401, allocations: 8 kB / 1.032 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.7401, allocations: 12 kB / 1.032 GB, free: 6.605 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.000154/0.7403, allocations: 231.3 kB / 1.032 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.091e-05/0.7403, allocations: 11.91 kB / 1.032 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.7406, allocations: 147 kB / 1.032 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.7406, allocations: 4 kB / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7406, allocations: 0 / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7406, allocations: 0 / 1.032 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008674/0.7415, allocations: 0.7158 MB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7415, allocations: 0 / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.7416, allocations: 27.92 kB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.7416, allocations: 4 kB / 1.033 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.7416, allocations: 4.125 kB / 1.033 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/0.7416, allocations: 12.3 kB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.7417, allocations: 7.938 kB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.742, allocations: 382.2 kB / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.7421, allocations: 108.8 kB / 1.033 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.92e-05/0.7421, allocations: 4 kB / 1.033 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.7423, allocations: 11.98 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.7423, allocations: 19.94 kB / 1.033 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.7423, allocations: 4 kB / 1.033 GB, free: 4.77 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001189/0.7424, allocations: 149.1 kB / 1.033 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7425, allocations: 0 / 1.033 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004904/0.743, allocations: 71.94 kB / 1.033 GB, free: 4.555 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.0001652/0.7431, allocations: 111.2 kB / 1.034 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003896/0.7435, allocations: 259.5 kB / 1.034 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7435, allocations: 0 / 1.034 GB, free: 4.18 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-05/0.7436, allocations: 61.34 kB / 1.034 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.7441, allocations: 32.81 kB / 1.034 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.7448, allocations: 0.5343 MB / 1.034 GB, free: 3.492 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.7452, allocations: 0.7363 MB / 1.035 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.7452, allocations: 19.44 kB / 1.035 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7452, allocations: 0 / 1.035 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of Templates: time 0.004007/0.7492, allocations: 2.203 MB / 1.037 GB, free: 0.5117 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.o] Error 1