Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 99.67 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.001402/0.001402, allocations: 174.4 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.482/1.482, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.676/2.676, allocations: 436.7 MB / 0.7113 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00059/0.0005901, allocations: 8.219 kB / 0.8717 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9052/0.9059, allocations: 153.7 MB / 1.022 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00356/0.9095, allocations: 2.673 MB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.9121, allocations: 1.77 MB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.9123, allocations: 7.938 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.9125, allocations: 31.77 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.9129, allocations: 147.3 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004661/0.9134, allocations: 163.5 kB / 1.026 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.9138, allocations: 366.9 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.9144, allocations: 315.9 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.9146, allocations: 107.6 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.9149, allocations: 139.5 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.9149, allocations: 12 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004618/0.9154, allocations: 259.6 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.9155, allocations: 75.78 kB / 1.028 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.9156, allocations: 65.58 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.916, allocations: 359.1 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.916, allocations: 0 / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.823e-06/0.916, allocations: 7.938 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.916, allocations: 0 / 1.028 GB, free: 10.54 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007909/0.9168, allocations: 0.5106 MB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9168, allocations: 15.98 kB / 1.029 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007189/0.9176, allocations: 107.6 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.9179, allocations: 268.1 kB / 1.029 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.9179, allocations: 24.39 kB / 1.029 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.918, allocations: 16 kB / 1.029 GB, free: 9.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005261/0.9185, allocations: 349.1 kB / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.9185, allocations: 0 / 1.029 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.9186, allocations: 11.98 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.9186, allocations: 28.42 kB / 1.029 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.9191, allocations: 289.5 kB / 1.03 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002057/0.9211, allocations: 1.749 MB / 1.031 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.9216, allocations: 318.2 kB / 1.032 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.9217, allocations: 105.6 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.9219, allocations: 97.05 kB / 1.032 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.9219, allocations: 34.56 kB / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.9219, allocations: 96 / 1.032 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.002304/0.9242, allocations: 0.9731 MB / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.9243, allocations: 81.3 kB / 1.033 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.9245, allocations: 223.6 kB / 1.033 GB, free: 4.965 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.9245, allocations: 29.7 kB / 1.033 GB, free: 4.93 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.916e-05/0.9246, allocations: 168.2 kB / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-05/0.9247, allocations: 78.91 kB / 1.033 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.9247, allocations: 4 kB / 1.033 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.9249, allocations: 330.8 kB / 1.034 GB, free: 4.344 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.9251, allocations: 127.9 kB / 1.034 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.9253, allocations: 205.4 kB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.9255, allocations: 166.1 kB / 1.034 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.9256, allocations: 4 kB / 1.034 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008065/0.9264, allocations: 0.5112 MB / 1.035 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.9264, allocations: 4.312 kB / 1.035 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.9264, allocations: 8 kB / 1.035 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004897/0.9269, allocations: 147.3 kB / 1.035 GB, free: 3.125 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.9272, allocations: 59.91 kB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.9303, allocations: 3.961 MB / 1.039 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/0.9306, allocations: 23.95 kB / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.9306, allocations: 12 kB / 1.039 GB, free: 14.75 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002689/0.9309, allocations: 169.6 kB / 1.039 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.237e-05/0.931, allocations: 23.81 kB / 1.039 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.932, allocations: 470.5 kB / 1.039 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.932, allocations: 4 kB / 1.039 GB, free: 14.08 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.932, allocations: 4 kB / 1.039 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.932, allocations: 7.984 kB / 1.039 GB, free: 14.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.9337, allocations: 0.9943 MB / 1.04 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.9337, allocations: 4 kB / 1.04 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.9339, allocations: 39.86 kB / 1.04 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004556/0.9343, allocations: 151.6 kB / 1.041 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/0.9344, allocations: 4 kB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00332/0.9377, allocations: 3.95 MB / 1.044 GB, free: 8.504 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9377, allocations: 0 / 1.044 GB, free: 8.504 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.9386, allocations: 0.6259 MB / 1.045 GB, free: 7.824 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.9387, allocations: 132.7 kB / 1.045 GB, free: 7.676 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.9388, allocations: 11.98 kB / 1.045 GB, free: 7.664 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.939, allocations: 19.98 kB / 1.045 GB, free: 7.645 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.9391, allocations: 31.86 kB / 1.045 GB, free: 7.613 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.9391, allocations: 11.94 kB / 1.045 GB, free: 7.602 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001686/0.9393, allocations: 153.5 kB / 1.045 GB, free: 7.453 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9393, allocations: 0 / 1.045 GB, free: 7.453 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006119/0.9399, allocations: 95.98 kB / 1.045 GB, free: 7.359 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002692/0.9402, allocations: 131.2 kB / 1.046 GB, free: 7.223 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001025/0.9412, allocations: 0.5631 MB / 1.046 GB, free: 6.637 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.9412, allocations: 0 / 1.046 GB, free: 6.637 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.9417, allocations: 410.1 kB / 1.047 GB, free: 6.211 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005579/0.9423, allocations: 43.97 kB / 1.047 GB, free: 6.168 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001352/0.9437, allocations: 0.7605 MB / 1.047 GB, free: 5.355 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005826/0.9443, allocations: 0.7755 MB / 1.048 GB, free: 4.555 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.818e-05/0.9444, allocations: 31.38 kB / 1.048 GB, free: 4.523 MB / 0.795 GB Notification: Performance of SimCode: time 7.11e-07/0.9444, allocations: 0 / 1.048 GB, free: 4.523 MB / 0.795 GB Notification: Performance of Templates: time 0.0117/0.9561, allocations: 7.592 MB / 1.055 GB, free: 12.93 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoadCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoadCalcHelperMain.o] Error 1