Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R.i.1.|R.i.2.|R1.i.1.|R1.i.2.|source.S.1.|source.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008312/0.0008313, allocations: 100.2 kB / 15.71 MB, free: 456 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.000942/0.0009421, allocations: 179 kB / 16.58 MB, free: 6.859 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.447/1.447, 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 9.1.2-maint.9.1.x/package.mo): time 2.554/2.554, allocations: 390.5 MB / 0.6662 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.0003295, allocations: 11.98 kB / 0.8154 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9273/0.9277, allocations: 142.3 MB / 0.9544 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002984/0.9307, allocations: 2.258 MB / 0.9566 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.9325, allocations: 1.222 MB / 0.9578 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.9327, allocations: 3.5 kB / 0.9578 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.9328, allocations: 27.38 kB / 0.9578 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.9332, allocations: 120 kB / 0.958 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.9336, allocations: 145.7 kB / 0.9581 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003435/0.9339, allocations: 288 kB / 0.9584 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.9344, allocations: 307.4 kB / 0.9587 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.9346, allocations: 86.84 kB / 0.9588 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.9348, allocations: 116.5 kB / 0.9589 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.9349, allocations: 7.625 kB / 0.9589 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.935, allocations: 79.11 kB / 0.9589 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.027e-05/0.9351, allocations: 57 kB / 0.959 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.9352, allocations: 52.77 kB / 0.9591 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.9354, allocations: 211.3 kB / 0.9593 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.9354, allocations: 0 / 0.9593 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.294e-06/0.9354, allocations: 3.938 kB / 0.9593 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.9354, allocations: 1.938 kB / 0.9593 GB, free: 4.469 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006818/0.9361, allocations: 474 kB / 0.9597 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.9362, allocations: 9.625 kB / 0.9597 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000468/0.9366, allocations: 70.02 kB / 0.9598 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.9369, allocations: 236.6 kB / 0.96 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.9369, allocations: 13.77 kB / 0.96 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.937, allocations: 13.62 kB / 0.96 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005526/0.9375, allocations: 315.8 kB / 0.9603 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.9375, allocations: 0 / 0.9603 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.9376, allocations: 10.69 kB / 0.9604 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.643e-05/0.9376, allocations: 30.08 kB / 0.9604 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/0.9381, allocations: 271.6 kB / 0.9606 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.9395, allocations: 1.506 MB / 0.9621 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.9401, allocations: 263.1 kB / 0.9624 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.9403, allocations: 127.7 kB / 0.9625 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.9403, allocations: 5.922 kB / 0.9625 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.9404, allocations: 36.59 kB / 0.9625 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.493e-06/0.9404, allocations: 0 / 0.9625 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0007474/0.9411, allocations: 360.5 kB / 0.9629 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.9412, allocations: 78.36 kB / 0.9629 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.9413, allocations: 176.5 kB / 0.9631 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.9413, allocations: 30.7 kB / 0.9631 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.9414, allocations: 144.8 kB / 0.9633 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.9415, allocations: 54.58 kB / 0.9633 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.9415, allocations: 5.375 kB / 0.9633 GB, free: 1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.9416, allocations: 322.4 kB / 0.9636 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.9418, allocations: 111.5 kB / 0.9637 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002257/0.942, allocations: 176.2 kB / 0.9639 GB, free: 500 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.9422, allocations: 128.4 kB / 0.964 GB, free: 436 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.9422, allocations: 1.281 kB / 0.964 GB, free: 436 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005266/0.9428, allocations: 310.2 kB / 0.9643 GB, free: 272 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/0.9429, allocations: 148.1 kB / 0.9645 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.9429, allocations: 2.219 kB / 0.9645 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.9429, allocations: 7.062 kB / 0.9645 GB, free: 100 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002888/0.9432, allocations: 65.55 kB / 0.9645 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.9432, allocations: 3 kB / 0.9645 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000182/0.9434, allocations: 30.81 kB / 0.9646 GB, free: 60 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.9434, allocations: 11.59 kB / 0.9646 GB, free: 56 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.9434, allocations: 3.281 kB / 0.9646 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005265/0.944, allocations: 248.7 kB / 0.9648 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.944, allocations: 6.141 kB / 0.9648 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/0.944, allocations: 3.25 kB / 0.9648 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.9442, allocations: 51.78 kB / 0.9649 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9442, allocations: 6.328 kB / 0.9649 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.9444, allocations: 37.97 kB / 0.9649 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.9444, allocations: 7.125 kB / 0.9649 GB, free: 15.89 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (23): * Single equations (assignments): 23 * 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.0001794/0.9446, allocations: 218.9 kB / 0.9651 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.9447, allocations: 15.94 kB / 0.9652 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.9453, allocations: 284.6 kB / 0.9654 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.9453, allocations: 1.406 kB / 0.9654 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.9453, allocations: 5.422 kB / 0.9654 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.9453, allocations: 0 / 0.9654 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.9464, allocations: 0.6877 MB / 0.9661 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9464, allocations: 0.9688 kB / 0.9661 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.9467, allocations: 51.39 kB / 0.9662 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.9467, allocations: 7.516 kB / 0.9662 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.9467, allocations: 4.125 kB / 0.9662 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.9467, allocations: 11.5 kB / 0.9662 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9467, allocations: 0 / 0.9662 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.9473, allocations: 456.2 kB / 0.9666 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.9474, allocations: 115.5 kB / 0.9667 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.9475, allocations: 10.42 kB / 0.9667 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.9477, allocations: 20.53 kB / 0.9668 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.9477, allocations: 17.77 kB / 0.9668 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.9478, allocations: 4.281 kB / 0.9668 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000121/0.9479, allocations: 135.4 kB / 0.9669 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9479, allocations: 0 / 0.9669 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005129/0.9484, allocations: 85.94 kB / 0.967 GB, free: 14.31 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (16): * Single equations (assignments): 16 * 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.0001389/0.9485, allocations: 100.9 kB / 0.9671 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007955/0.9493, allocations: 397.2 kB / 0.9675 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9494, allocations: 4.125 kB / 0.9675 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.9496, allocations: 115.1 kB / 0.9676 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.9501, allocations: 37.73 kB / 0.9676 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.951, allocations: 0.5273 MB / 0.9681 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.9514, allocations: 0.7441 MB / 0.9689 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.527e-05/0.9515, allocations: 21.66 kB / 0.9689 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.9515, allocations: 0.9688 kB / 0.9689 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of Templates: time 0.004779/0.9562, allocations: 2.569 MB / 0.9714 GB, free: 11.5 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.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.Loads.Examples.ParallelResistorsCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistorsCalcHelperMain.o] Error 1