Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dynRC.i.1.|dynRC.i.2.|dynRL.i.1.|dynRL.i.2.|dynRC.v.1.|dynRC.v.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 102.8 kB / 15.71 MB, free: 460 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.001287/0.001287, allocations: 176.3 kB / 16.58 MB, free: 6.402 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.53/1.53, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.656/2.656, allocations: 436.7 MB / 0.7113 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 8 kB / 0.8717 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8775/0.8779, allocations: 153.6 MB / 1.022 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.003818/0.8818, allocations: 2.837 MB / 1.024 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002816/0.8846, allocations: 1.75 MB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001573/0.8848, allocations: 4 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.885, allocations: 39.64 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004682/0.8855, allocations: 163.3 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.8861, allocations: 223.5 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004764/0.8866, allocations: 474.5 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007761/0.8874, allocations: 440.2 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.8876, allocations: 135.5 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000345/0.8879, allocations: 183.4 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.3e-05/0.888, allocations: 12 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.8883, allocations: 143.8 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.8884, allocations: 99.75 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.622e-05/0.8885, allocations: 69.58 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003845/0.8889, allocations: 361 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8889, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8889, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.8889, allocations: 4 kB / 1.028 GB, free: 10.19 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0009221/0.8898, allocations: 0.5379 MB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.8899, allocations: 15.98 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006879/0.8906, allocations: 87.62 kB / 1.029 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.8909, allocations: 271.2 kB / 1.029 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.891, allocations: 28.48 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.8911, allocations: 32 kB / 1.029 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006464/0.8918, allocations: 445.1 kB / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.8918, allocations: 0 / 1.03 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.8918, allocations: 12 kB / 1.03 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/0.892, allocations: 44.47 kB / 1.03 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.8925, allocations: 345.9 kB / 1.03 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.8951, allocations: 2.211 MB / 1.032 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004497/0.8955, allocations: 266.9 kB / 1.033 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.8958, allocations: 165.7 kB / 1.033 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.8958, allocations: 8.125 kB / 1.033 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.8958, allocations: 30.75 kB / 1.033 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=22): time 1.272e-06/0.8958, allocations: 0 / 1.033 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.001906/0.8978, allocations: 1.046 MB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.8978, allocations: 55.41 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.8981, allocations: 252.8 kB / 1.034 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.8981, allocations: 29.7 kB / 1.034 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.8983, allocations: 184 kB / 1.034 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.8984, allocations: 86.75 kB / 1.034 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.8984, allocations: 4 kB / 1.034 GB, free: 3.637 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.8986, allocations: 342.8 kB / 1.035 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.8988, allocations: 147.9 kB / 1.035 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003269/0.8992, allocations: 237.5 kB / 1.035 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.8995, allocations: 189.3 kB / 1.035 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.8995, allocations: 0 / 1.035 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001091/0.9006, allocations: 0.5818 MB / 1.036 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.9006, allocations: 7.984 kB / 1.036 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.9006, allocations: 4 kB / 1.036 GB, free: 2.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006873/0.9013, allocations: 189 kB / 1.036 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002785/0.9016, allocations: 67.83 kB / 1.036 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.9046, allocations: 2.3 MB / 1.038 GB, free: 15.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.9049, allocations: 19.92 kB / 1.038 GB, free: 15.39 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.9049, allocations: 12 kB / 1.038 GB, free: 15.38 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): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.9051, allocations: 165.7 kB / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-05/0.9052, allocations: 19.81 kB / 1.039 GB, free: 15.18 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006449/0.9059, allocations: 364.4 kB / 1.039 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.9059, allocations: 4 kB / 1.039 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.9059, allocations: 3.953 kB / 1.039 GB, free: 14.82 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.9059, allocations: 3.984 kB / 1.039 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.9071, allocations: 0.8027 MB / 1.04 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.9071, allocations: 0 / 1.04 GB, free: 13.95 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00039/0.9075, allocations: 75.88 kB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9075, allocations: 4.062 kB / 1.04 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.9075, allocations: 15.94 kB / 1.04 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.9075, allocations: 0 / 1.04 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.9075, allocations: 4 kB / 1.04 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.9083, allocations: 0.6079 MB / 1.04 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.9085, allocations: 128.8 kB / 1.041 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.9085, allocations: 12 kB / 1.041 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.9087, allocations: 19.94 kB / 1.041 GB, free: 13.05 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.9088, allocations: 7.984 kB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.9088, allocations: 8 kB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002111/0.909, allocations: 180.5 kB / 1.041 GB, free: 12.86 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.909, allocations: 0 / 1.041 GB, free: 12.86 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004448/0.9095, allocations: 84 kB / 1.041 GB, free: 12.77 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[2]) * 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 (24): * Single equations (assignments): 24 * 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.0001799/0.9097, allocations: 115.2 kB / 1.041 GB, free: 12.65 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0009012/0.9106, allocations: 0.5256 MB / 1.041 GB, free: 12.11 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9106, allocations: 0 / 1.041 GB, free: 12.11 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.9108, allocations: 152.4 kB / 1.042 GB, free: 11.96 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.9113, allocations: 50.77 kB / 1.042 GB, free: 11.92 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.9129, allocations: 1.057 MB / 1.043 GB, free: 10.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004049/0.9133, allocations: 0.7912 MB / 1.043 GB, free: 10 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.9134, allocations: 35.36 kB / 1.043 GB, free: 9.965 MB / 0.795 GB Notification: Performance of SimCode: time 8.22e-07/0.9134, allocations: 0 / 1.043 GB, free: 9.965 MB / 0.795 GB Notification: Performance of Templates: time 0.007063/0.9205, allocations: 4.391 MB / 1.048 GB, free: 5.578 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.makefile make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.DynamicLoadsCalcHelperMain.o OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.DynamicLoadsCalcHelperMain.o] Error 1