Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008129/0.0008129, allocations: 102.4 kB / 15.71 MB, free: 440 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.0008912/0.0008914, allocations: 178.9 kB / 16.58 MB, free: 6.09 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.524/1.524, 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 9.1.2-maint.9.1.x/package.mo): time 2.584/2.584, allocations: 390.5 MB / 0.6662 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003864/0.0003865, allocations: 12 kB / 0.8154 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9188/0.9192, allocations: 142.3 MB / 0.9544 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002851/0.9221, allocations: 2.064 MB / 0.9564 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.9243, allocations: 1.322 MB / 0.9577 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.9244, allocations: 2.125 kB / 0.9577 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001624/0.9246, allocations: 22.45 kB / 0.9577 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000341/0.9249, allocations: 95.83 kB / 0.9578 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004051/0.9253, allocations: 142.5 kB / 0.958 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.9256, allocations: 259.8 kB / 0.9582 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.9261, allocations: 227.8 kB / 0.9584 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.9263, allocations: 67.7 kB / 0.9585 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.9265, allocations: 100.2 kB / 0.9586 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.9266, allocations: 5.469 kB / 0.9586 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.9268, allocations: 107.5 kB / 0.9587 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.9269, allocations: 57.39 kB / 0.9588 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.725e-05/0.9269, allocations: 59.83 kB / 0.9588 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.9272, allocations: 203.4 kB / 0.959 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9272, allocations: 4 kB / 0.959 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.976e-06/0.9273, allocations: 0 / 0.959 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.9273, allocations: 0 / 0.959 GB, free: 4.855 MB / 0.7169 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.0006058/0.9279, allocations: 451.2 kB / 0.9594 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.9279, allocations: 9.625 kB / 0.9595 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004839/0.9284, allocations: 68.67 kB / 0.9595 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.9287, allocations: 223.4 kB / 0.9597 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.9287, allocations: 9.781 kB / 0.9597 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.791e-05/0.9287, allocations: 12.25 kB / 0.9598 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004286/0.9292, allocations: 281.7 kB / 0.96 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.9292, allocations: 3.938 kB / 0.96 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.689e-05/0.9292, allocations: 6.844 kB / 0.96 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/0.9293, allocations: 24.88 kB / 0.9601 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.9296, allocations: 217.4 kB / 0.9603 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.9311, allocations: 1.576 MB / 0.9618 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.9315, allocations: 317 kB / 0.9621 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.9316, allocations: 66.55 kB / 0.9622 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.9316, allocations: 1.375 kB / 0.9622 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.9317, allocations: 39.88 kB / 0.9622 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.9317, allocations: 0 / 0.9622 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005958/0.9323, allocations: 246.7 kB / 0.9624 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.9323, allocations: 79.11 kB / 0.9625 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.9326, allocations: 203 kB / 0.9627 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.9326, allocations: 25.7 kB / 0.9627 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.9327, allocations: 153.7 kB / 0.9629 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.089e-05/0.9327, allocations: 41.48 kB / 0.9629 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/0.9327, allocations: 8.969 kB / 0.9629 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.5e-05/0.9328, allocations: 322.1 kB / 0.9632 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.9329, allocations: 66.33 kB / 0.9633 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.9331, allocations: 159.8 kB / 0.9635 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.9333, allocations: 89.81 kB / 0.9635 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9333, allocations: 5.141 kB / 0.9635 GB, free: 0.7148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004109/0.9337, allocations: 255.4 kB / 0.9638 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.593e-05/0.9338, allocations: 173.4 kB / 0.964 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.9338, allocations: 3.688 kB / 0.964 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.9338, allocations: 3.562 kB / 0.964 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.9341, allocations: 54.72 kB / 0.964 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.9341, allocations: 4.219 kB / 0.964 GB, free: 364 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.9342, allocations: 15.77 kB / 0.964 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.9343, allocations: 8.656 kB / 0.964 GB, free: 356 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.644e-06/0.9343, allocations: 3.656 kB / 0.964 GB, free: 356 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000311/0.9346, allocations: 202.8 kB / 0.9642 GB, free: 252 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9346, allocations: 6.234 kB / 0.9642 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.577e-06/0.9346, allocations: 5.781 kB / 0.9642 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/0.9348, allocations: 48 kB / 0.9643 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.9348, allocations: 4.125 kB / 0.9643 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.9349, allocations: 25.95 kB / 0.9643 GB, free: 216 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.9349, allocations: 7.656 kB / 0.9643 GB, free: 216 kB / 0.7169 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.0001311/0.9351, allocations: 219.7 kB / 0.9645 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.9352, allocations: 10.58 kB / 0.9645 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.9355, allocations: 158 kB / 0.9647 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.9355, allocations: 2.375 kB / 0.9647 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.9355, allocations: 0.75 kB / 0.9647 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.9355, allocations: 0.75 kB / 0.9647 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.9366, allocations: 0.7105 MB / 0.9654 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.9367, allocations: 7.188 kB / 0.9654 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.9368, allocations: 30.45 kB / 0.9654 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.9368, allocations: 7.484 kB / 0.9654 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.9368, allocations: 7.875 kB / 0.9654 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.9368, allocations: 2.531 kB / 0.9654 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.9368, allocations: 8 kB / 0.9655 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003594/0.9372, allocations: 372.8 kB / 0.9658 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.9373, allocations: 115.6 kB / 0.9659 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.765e-05/0.9374, allocations: 11.66 kB / 0.9659 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.9375, allocations: 6.812 kB / 0.9659 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.9376, allocations: 16.34 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.9376, allocations: 6.375 kB / 0.966 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001368/0.9377, allocations: 142.7 kB / 0.9661 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9377, allocations: 0 / 0.9661 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005257/0.9383, allocations: 75.61 kB / 0.9662 GB, free: 14.62 MB / 0.7325 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.0001681/0.9384, allocations: 103.5 kB / 0.9663 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.9389, allocations: 260.3 kB / 0.9665 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9389, allocations: 4.062 kB / 0.9665 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.006e-05/0.939, allocations: 64.39 kB / 0.9666 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.9395, allocations: 27.27 kB / 0.9666 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.9404, allocations: 0.5258 MB / 0.9671 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.9407, allocations: 0.7431 MB / 0.9678 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.9408, allocations: 17.88 kB / 0.9679 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.9408, allocations: 0 / 0.9679 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of Templates: time 0.005089/0.9459, allocations: 2.198 MB / 0.97 GB, free: 12.07 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile make -j1 -f Buildings_9_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_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSourceCalcHelperMain.o] Error 1