Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009059/0.000906, allocations: 98.88 kB / 16.02 MB, free: 76 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.001113/0.001113, allocations: 185.3 kB / 16.92 MB, free: 6.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.216/2.216, allocations: 205.4 MB / 223.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.969/1.969, allocations: 292.7 MB / 0.5509 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005639/0.0005641, allocations: 19.94 kB / 0.675 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3629, allocations: 116.3 MB / 0.7885 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007408/0.3704, allocations: 5.06 MB / 0.7935 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005423/0.3759, allocations: 2.612 MB / 0.796 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000576/0.3765, allocations: 19.88 kB / 0.7961 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003981/0.3769, allocations: 107.1 kB / 0.7962 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001199/0.3781, allocations: 374.1 kB / 0.7965 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.3793, allocations: 370.5 kB / 0.7969 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.3808, allocations: 1.244 MB / 0.7981 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.3823, allocations: 0.787 MB / 0.7988 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006051/0.3829, allocations: 306.6 kB / 0.7991 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.3835, allocations: 382.4 kB / 0.7995 GB, free: 292 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.62e-05/0.3836, allocations: 24 kB / 0.7995 GB, free: 268 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.3847, allocations: 435.1 kB / 0.7999 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003042/0.385, allocations: 219.3 kB / 0.8002 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.3854, allocations: 343.9 kB / 0.8005 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0009346/0.3863, allocations: 0.7366 MB / 0.8012 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.3863, allocations: 0 / 0.8012 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.637e-06/0.3864, allocations: 0 / 0.8012 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3864, allocations: 0 / 0.8012 GB, free: 14.54 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001905/0.3883, allocations: 0.8414 MB / 0.802 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/0.3883, allocations: 8.031 kB / 0.802 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.3898, allocations: 203.8 kB / 0.8022 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007859/0.3906, allocations: 486.5 kB / 0.8027 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.3906, allocations: 41.31 kB / 0.8027 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.3908, allocations: 56.48 kB / 0.8028 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.3921, allocations: 0.8358 MB / 0.8036 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.3921, allocations: 7.938 kB / 0.8036 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.057e-05/0.3922, allocations: 20 kB / 0.8036 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001959/0.3924, allocations: 68.94 kB / 0.8037 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009118/0.3933, allocations: 0.5697 MB / 0.8042 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00501/0.3983, allocations: 4.596 MB / 0.8087 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.3989, allocations: 299.2 kB / 0.809 GB, free: 6 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.3992, allocations: 221.3 kB / 0.8092 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.3992, allocations: 4.281 kB / 0.8092 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3993, allocations: 34.84 kB / 0.8093 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=33): time 3.115e-06/0.3993, allocations: 0 / 0.8093 GB, free: 5.734 MB / 0.6231 GB Notification: Performance of matching and sorting (n=40): time 0.006087/0.4054, allocations: 2.639 MB / 0.8118 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.4055, allocations: 55.41 kB / 0.8119 GB, free: 2.902 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005691/0.406, allocations: 457.9 kB / 0.8123 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.4061, allocations: 33.7 kB / 0.8124 GB, free: 2.406 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.4064, allocations: 335.7 kB / 0.8127 GB, free: 2.07 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.4065, allocations: 149.9 kB / 0.8128 GB, free: 1.922 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.4066, allocations: 45.7 kB / 0.8129 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4068, allocations: 370.8 kB / 0.8132 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/0.4072, allocations: 233 kB / 0.8135 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000547/0.4078, allocations: 410.4 kB / 0.8138 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.4088, allocations: 0.6817 MB / 0.8145 GB, free: 44 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4088, allocations: 0 / 0.8145 GB, free: 44 kB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001774/0.4106, allocations: 0.9173 MB / 0.8154 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.4106, allocations: 15.92 kB / 0.8154 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.4106, allocations: 4 kB / 0.8154 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009723/0.4116, allocations: 226.6 kB / 0.8156 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.4122, allocations: 115.8 kB / 0.8157 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006023/0.4182, allocations: 4.947 MB / 0.8206 GB, free: 9.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.4189, allocations: 36.03 kB / 0.8206 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-05/0.419, allocations: 20 kB / 0.8206 GB, free: 9.34 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005658/0.4196, allocations: 229.9 kB / 0.8209 GB, free: 9.105 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.4197, allocations: 55.34 kB / 0.8209 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001645/0.4213, allocations: 0.774 MB / 0.8217 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.4214, allocations: 7.984 kB / 0.8217 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.4214, allocations: 4 kB / 0.8217 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4214, allocations: 0 / 0.8217 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.4241, allocations: 1.494 MB / 0.8231 GB, free: 6.664 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.4241, allocations: 4 kB / 0.8231 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000374/0.4245, allocations: 67.88 kB / 0.8232 GB, free: 6.594 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006974/0.4252, allocations: 206.8 kB / 0.8234 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.4252, allocations: 12 kB / 0.8234 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005215/0.4304, allocations: 4.888 MB / 0.8282 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4305, allocations: 0 / 0.8282 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.4326, allocations: 1.139 MB / 0.8293 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.4329, allocations: 168.5 kB / 0.8295 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.433, allocations: 15.98 kB / 0.8295 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003291/0.4333, allocations: 23.97 kB / 0.8295 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4334, allocations: 39.89 kB / 0.8295 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.4335, allocations: 8 kB / 0.8295 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004264/0.4339, allocations: 310.9 kB / 0.8298 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4339, allocations: 7.938 kB / 0.8298 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008441/0.4348, allocations: 164 kB / 0.83 GB, free: 15.16 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.435, allocations: 115.2 kB / 0.8301 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.4368, allocations: 1 MB / 0.8311 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4369, allocations: 0 / 0.8311 GB, free: 14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.4379, allocations: 0.684 MB / 0.8318 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.439, allocations: 161.8 kB / 0.8319 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.442, allocations: 1.624 MB / 0.8335 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.4428, allocations: 0.9494 MB / 0.8344 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.443, allocations: 43.42 kB / 0.8345 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of SimCode: time 1.182e-06/0.443, allocations: 0 / 0.8345 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of Templates: time 0.02336/0.4663, allocations: 14.69 MB / 0.8488 GB, free: 11.77 MB / 0.67 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RLCalcHelperMain.o] Error 1