Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 99.36 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.001357/0.001357, allocations: 176.8 kB / 16.58 MB, free: 6.418 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.55/1.55, allocations: 223.3 MB / 240.6 MB, free: 5.359 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.608/2.608, allocations: 390.5 MB / 0.6662 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 16.19 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8767/0.877, allocations: 142.3 MB / 0.9544 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003256/0.8803, allocations: 3.272 MB / 0.9576 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.8825, allocations: 1.68 MB / 0.9593 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001912/0.8827, allocations: 11.91 kB / 0.9593 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.8829, allocations: 61.78 kB / 0.9593 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005273/0.8835, allocations: 226.2 kB / 0.9595 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004195/0.8839, allocations: 190.4 kB / 0.9597 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000526/0.8844, allocations: 0.6308 MB / 0.9603 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.885, allocations: 333.4 kB / 0.9607 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.8853, allocations: 198 kB / 0.9608 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.8855, allocations: 214 kB / 0.961 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.8856, allocations: 13.81 kB / 0.9611 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.8858, allocations: 144.9 kB / 0.9612 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.886, allocations: 100.9 kB / 0.9613 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.935e-05/0.8861, allocations: 94.3 kB / 0.9614 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.8864, allocations: 435.6 kB / 0.9618 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.8865, allocations: 0 / 0.9618 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8865, allocations: 1.156 kB / 0.9618 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.8865, allocations: 0 / 0.9618 GB, free: 2.52 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.000951/0.8874, allocations: 0.673 MB / 0.9625 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.8875, allocations: 8.5 kB / 0.9625 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008183/0.8883, allocations: 133.6 kB / 0.9626 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.8887, allocations: 366 kB / 0.9629 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.8888, allocations: 20.59 kB / 0.963 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.8888, allocations: 34.86 kB / 0.963 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007514/0.8896, allocations: 0.555 MB / 0.9635 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.8896, allocations: 6.188 kB / 0.9635 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.661e-05/0.8897, allocations: 21.67 kB / 0.9636 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.384e-05/0.8897, allocations: 45.27 kB / 0.9636 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006706/0.8904, allocations: 416.3 kB / 0.964 GB, free: 0.8477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.893, allocations: 3.332 MB / 0.9673 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006574/0.8936, allocations: 332.7 kB / 0.9676 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/0.894, allocations: 189.7 kB / 0.9678 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.894, allocations: 3.562 kB / 0.9678 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.894, allocations: 38 kB / 0.9678 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.894, allocations: 0 / 0.9678 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.002065/0.8961, allocations: 1.079 MB / 0.9689 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.8961, allocations: 54.64 kB / 0.9689 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003443/0.8965, allocations: 344 kB / 0.9692 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.8965, allocations: 26.86 kB / 0.9693 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.8967, allocations: 247.2 kB / 0.9695 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.411e-05/0.8968, allocations: 102.8 kB / 0.9696 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.8968, allocations: 9.75 kB / 0.9696 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8969, allocations: 347.5 kB / 0.9699 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/0.8972, allocations: 148.4 kB / 0.9701 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003769/0.8976, allocations: 299.2 kB / 0.9704 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.898, allocations: 195.9 kB / 0.9705 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.898, allocations: 1.094 kB / 0.9705 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001014/0.899, allocations: 0.575 MB / 0.9711 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.899, allocations: 6.906 kB / 0.9711 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.8991, allocations: 5.25 kB / 0.9711 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.8994, allocations: 90.38 kB / 0.9712 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.8997, allocations: 90.05 kB / 0.9713 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.611e-05/0.8998, allocations: 11.23 kB / 0.9713 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.9, allocations: 32.38 kB / 0.9713 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.9001, allocations: 18.94 kB / 0.9714 GB, free: 10.77 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002052/0.9003, allocations: 181.1 kB / 0.9715 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.9004, allocations: 39 kB / 0.9716 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009381/0.9013, allocations: 474.6 kB / 0.972 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.9013, allocations: 6.656 kB / 0.972 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.9014, allocations: 2.469 kB / 0.972 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.9014, allocations: 0 / 0.972 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.9029, allocations: 0.9738 MB / 0.973 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.9029, allocations: 0 / 0.973 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002637/0.9032, allocations: 58.3 kB / 0.973 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002473/0.9034, allocations: 77.48 kB / 0.9731 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.9035, allocations: 9.719 kB / 0.9731 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.288e-06/0.9035, allocations: 6.188 kB / 0.9731 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9035, allocations: 4.984 kB / 0.9731 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008882/0.9044, allocations: 0.5522 MB / 0.9737 GB, free: 9.117 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.9046, allocations: 134.3 kB / 0.9738 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.9046, allocations: 7.062 kB / 0.9738 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.9049, allocations: 24.72 kB / 0.9738 GB, free: 8.973 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.9049, allocations: 30.3 kB / 0.9739 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.905, allocations: 13.95 kB / 0.9739 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002454/0.9052, allocations: 230.6 kB / 0.9741 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9052, allocations: 0 / 0.9741 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004842/0.9057, allocations: 84.69 kB / 0.9742 GB, free: 8.789 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001307/0.9059, allocations: 108.3 kB / 0.9743 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009084/0.9068, allocations: 0.6364 MB / 0.9749 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.9068, allocations: 8.062 kB / 0.9749 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004586/0.9073, allocations: 448.2 kB / 0.9753 GB, free: 7.801 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.908, allocations: 115.9 kB / 0.9754 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.9092, allocations: 0.9077 MB / 0.9763 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.9096, allocations: 0.8208 MB / 0.9771 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001043/0.9097, allocations: 31.25 kB / 0.9772 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.9097, allocations: 0 / 0.9772 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of Templates: time 0.01235/0.922, allocations: 9.394 MB / 0.9863 GB, free: 14.49 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedanceCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.o] Error 1