Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001134/0.001134, allocations: 99.12 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.001338/0.001338, allocations: 176.6 kB / 16.58 MB, free: 6.879 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.456/1.456, allocations: 223.2 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 436.7 MB / 0.7113 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005324, allocations: 15.94 kB / 0.8717 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8433/0.8438, allocations: 153.6 MB / 1.022 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004117/0.848, allocations: 3.274 MB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00275/0.8508, allocations: 1.677 MB / 1.027 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00023/0.8511, allocations: 15.88 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.8513, allocations: 59.5 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006462/0.852, allocations: 230.8 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005402/0.8525, allocations: 190.6 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006714/0.8532, allocations: 0.6283 MB / 1.028 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006378/0.8538, allocations: 326.5 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003019/0.8542, allocations: 203.1 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.8545, allocations: 223 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.8545, allocations: 16 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003248/0.8548, allocations: 131.8 kB / 1.029 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.855, allocations: 99.64 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.8551, allocations: 97.45 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006093/0.8557, allocations: 440.9 kB / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.8558, allocations: 0 / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.517e-06/0.8558, allocations: 0 / 1.029 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.8558, allocations: 0 / 1.029 GB, free: 9.496 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001474/0.8573, allocations: 0.6662 MB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/0.8573, allocations: 11.98 kB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009507/0.8583, allocations: 139.2 kB / 1.03 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006646/0.859, allocations: 366.5 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.598e-05/0.859, allocations: 28.61 kB / 1.03 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.852e-05/0.8591, allocations: 27.98 kB / 1.03 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/0.8602, allocations: 0.5571 MB / 1.031 GB, free: 7.551 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.791e-05/0.8602, allocations: 7.938 kB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.567e-05/0.8603, allocations: 15.98 kB / 1.031 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.828e-05/0.8604, allocations: 40.53 kB / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007569/0.8611, allocations: 417.8 kB / 1.031 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.8644, allocations: 3.33 MB / 1.035 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/0.8651, allocations: 342.6 kB / 1.035 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002983/0.8654, allocations: 184.8 kB / 1.035 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.8655, allocations: 0 / 1.035 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.8655, allocations: 34.56 kB / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.8655, allocations: 0 / 1.035 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=27): time 0.002078/0.8676, allocations: 1.092 MB / 1.036 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.8676, allocations: 55.64 kB / 1.036 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.868, allocations: 337.6 kB / 1.037 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.868, allocations: 29.7 kB / 1.037 GB, free: 1.328 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.8682, allocations: 243.6 kB / 1.037 GB, free: 1.086 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.8683, allocations: 102.6 kB / 1.037 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.663e-05/0.8683, allocations: 4 kB / 1.037 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.8685, allocations: 354.8 kB / 1.037 GB, free: 0.625 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.8687, allocations: 148.8 kB / 1.037 GB, free: 492 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.8691, allocations: 303 kB / 1.038 GB, free: 120 kB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003409/0.8695, allocations: 192.5 kB / 1.038 GB, free: 15.93 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8695, allocations: 11.88 kB / 1.038 GB, free: 15.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009638/0.8704, allocations: 0.5617 MB / 1.038 GB, free: 15.34 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.8705, allocations: 9.719 kB / 1.038 GB, free: 15.33 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.8705, allocations: 7.953 kB / 1.038 GB, free: 15.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.8708, allocations: 99 kB / 1.039 GB, free: 15.22 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/0.8712, allocations: 79.89 kB / 1.039 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/0.8712, allocations: 15.92 kB / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002394/0.8714, allocations: 31.97 kB / 1.039 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.8715, allocations: 20 kB / 1.039 GB, free: 15.07 MB / 0.795 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.0002818/0.8718, allocations: 167.7 kB / 1.039 GB, free: 14.9 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.514e-05/0.8718, allocations: 39.53 kB / 1.039 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009039/0.8727, allocations: 484.5 kB / 1.039 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.8728, allocations: 4 kB / 1.039 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.8728, allocations: 0 / 1.039 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.8728, allocations: 0 / 1.039 GB, free: 14.37 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001441/0.8742, allocations: 0.9826 MB / 1.04 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8742, allocations: 0 / 1.04 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.8745, allocations: 55.95 kB / 1.04 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.8747, allocations: 82.55 kB / 1.04 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.8748, allocations: 11.98 kB / 1.04 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.8748, allocations: 0 / 1.04 GB, free: 13.16 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.8748, allocations: 4 kB / 1.04 GB, free: 13.15 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008433/0.8756, allocations: 0.5507 MB / 1.041 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.8758, allocations: 132.6 kB / 1.041 GB, free: 12.42 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.8758, allocations: 8 kB / 1.041 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.8761, allocations: 27.97 kB / 1.041 GB, free: 12.38 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.8762, allocations: 35.91 kB / 1.041 GB, free: 12.35 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.8762, allocations: 4 kB / 1.041 GB, free: 12.34 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002305/0.8764, allocations: 231.2 kB / 1.041 GB, free: 12.12 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8764, allocations: 3.938 kB / 1.041 GB, free: 12.12 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004057/0.8768, allocations: 88 kB / 1.041 GB, free: 12.04 MB / 0.795 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.0001568/0.877, allocations: 103.2 kB / 1.042 GB, free: 11.93 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008956/0.8779, allocations: 0.6391 MB / 1.042 GB, free: 11.22 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8779, allocations: 0 / 1.042 GB, free: 11.22 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004534/0.8784, allocations: 445.6 kB / 1.043 GB, free: 10.72 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006647/0.8791, allocations: 118.5 kB / 1.043 GB, free: 10.61 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.8803, allocations: 0.9046 MB / 1.044 GB, free: 9.656 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.8807, allocations: 0.8274 MB / 1.044 GB, free: 8.805 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.8808, allocations: 31.44 kB / 1.044 GB, free: 8.773 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.8808, allocations: 0 / 1.044 GB, free: 8.773 MB / 0.795 GB Notification: Performance of Templates: time 0.01242/0.8932, allocations: 9.392 MB / 1.054 GB, free: 15.41 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedanceCalcHelperMain.o] Error 1