Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.0009001/0.0009003, allocations: 100.5 kB / 15.71 MB, free: 452 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.001594/0.001594, allocations: 174.9 kB / 16.58 MB, free: 6.422 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.49/1.49, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.891/2.891, allocations: 436.7 MB / 0.7113 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 11.98 kB / 0.8717 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.848/0.8484, allocations: 153.7 MB / 1.022 GB, free: 1.16 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors): time 0.002972/0.8514, allocations: 2.264 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001825/0.8532, allocations: 1.22 MB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.987e-05/0.8533, allocations: 7.938 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.8535, allocations: 27.78 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.8539, allocations: 123.4 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.8542, allocations: 142.6 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.8546, allocations: 291.1 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.8551, allocations: 290 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.8552, allocations: 87.67 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.8555, allocations: 119.6 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.717e-05/0.8555, allocations: 8 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.8557, allocations: 67.89 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.016e-05/0.8558, allocations: 63.8 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.8558, allocations: 57.58 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.8561, allocations: 213.4 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8561, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.8561, allocations: 4 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.8561, allocations: 0 / 1.027 GB, free: 12.16 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007904/0.8569, allocations: 463 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.857, allocations: 15.98 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.8574, allocations: 67.64 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.8578, allocations: 244.1 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.8578, allocations: 12.23 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.8578, allocations: 12 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.8584, allocations: 308.5 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8585, allocations: 3.938 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.939e-05/0.8585, allocations: 15.97 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/0.8585, allocations: 32.19 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.8591, allocations: 272.5 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001705/0.8609, allocations: 1.502 MB / 1.029 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.8614, allocations: 265 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.8616, allocations: 133.6 kB / 1.03 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.8616, allocations: 4 kB / 1.03 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.8617, allocations: 30.56 kB / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.8617, allocations: 0 / 1.03 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0008179/0.8625, allocations: 361.2 kB / 1.03 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.8626, allocations: 77.11 kB / 1.03 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.8628, allocations: 178.8 kB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.367e-05/0.8629, allocations: 25.7 kB / 1.03 GB, free: 7.848 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.863, allocations: 147.9 kB / 1.031 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.93e-05/0.8631, allocations: 51.3 kB / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.8631, allocations: 0 / 1.031 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002276/0.8634, allocations: 330.8 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.8636, allocations: 103.9 kB / 1.031 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.8639, allocations: 176.5 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.8641, allocations: 130.6 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8641, allocations: 7.938 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005261/0.8647, allocations: 309.2 kB / 1.032 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.8648, allocations: 147.2 kB / 1.032 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8648, allocations: 0 / 1.032 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.8648, allocations: 4 kB / 1.032 GB, free: 6.398 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002717/0.8651, allocations: 59.89 kB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.8651, allocations: 4 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.8653, allocations: 39.77 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.8653, allocations: 8 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.8653, allocations: 7.938 kB / 1.032 GB, free: 6.281 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004261/0.8658, allocations: 243.7 kB / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-06/0.8658, allocations: 0 / 1.032 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.935e-06/0.8658, allocations: 4 kB / 1.032 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.866, allocations: 55.91 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.866, allocations: 4 kB / 1.032 GB, free: 5.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.8662, allocations: 31.97 kB / 1.032 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.8662, allocations: 12 kB / 1.032 GB, free: 5.938 MB / 0.7794 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.0001567/0.8663, allocations: 217 kB / 1.032 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.807e-05/0.8664, allocations: 19.77 kB / 1.032 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005633/0.867, allocations: 285.7 kB / 1.033 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.867, allocations: 7.938 kB / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.867, allocations: 0 / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.867, allocations: 0 / 1.033 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.8681, allocations: 0.7043 MB / 1.033 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.8681, allocations: 0 / 1.033 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.8683, allocations: 47.95 kB / 1.033 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.8683, allocations: 0 / 1.033 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.8683, allocations: 4 kB / 1.033 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8683, allocations: 128 / 1.033 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8683, allocations: 11.94 kB / 1.033 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005899/0.8689, allocations: 457.9 kB / 1.034 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.869, allocations: 120.8 kB / 1.034 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.8691, allocations: 4 kB / 1.034 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001933/0.8693, allocations: 23.97 kB / 1.034 GB, free: 3.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.458e-05/0.8693, allocations: 15.92 kB / 1.034 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.8694, allocations: 8 kB / 1.034 GB, free: 3.906 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001111/0.8695, allocations: 127.2 kB / 1.034 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8695, allocations: 0 / 1.034 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004504/0.8699, allocations: 87.8 kB / 1.034 GB, free: 3.695 MB / 0.7794 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.0001383/0.8701, allocations: 99.25 kB / 1.034 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007867/0.8709, allocations: 388.2 kB / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8709, allocations: 128 / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.8711, allocations: 131.8 kB / 1.035 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.8716, allocations: 31.02 kB / 1.035 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.8725, allocations: 0.5258 MB / 1.035 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.8729, allocations: 0.7518 MB / 1.036 GB, free: 1.703 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.341e-05/0.873, allocations: 19.44 kB / 1.036 GB, free: 1.684 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.873, allocations: 4 kB / 1.036 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.004491/0.8775, allocations: 2.557 MB / 1.039 GB, free: 15.13 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistors.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistorsCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistorsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelResistorsCalcHelperMain.o] Error 1