Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 91.92 kB / 16.02 MB, free: 80 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.003478/0.003477, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.271/2.271, allocations: 205.4 MB / 223.1 MB, free: 5.484 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.99/1.99, allocations: 292.7 MB / 0.5509 GB, free: 14.49 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.0009504/0.0009509, allocations: 13.94 kB / 0.675 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.3879, 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_L): time 0.007871/0.3958, allocations: 5.652 MB / 0.7941 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006267/0.4022, allocations: 3.181 MB / 0.7972 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006501/0.4029, allocations: 27.81 kB / 0.7972 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.4034, allocations: 119 kB / 0.7973 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.4047, allocations: 438 kB / 0.7977 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.4061, allocations: 445.7 kB / 0.7982 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.4079, allocations: 1.459 MB / 0.7996 GB, free: 256 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002014/0.4099, allocations: 0.9888 MB / 0.8005 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006919/0.4106, allocations: 358.3 kB / 0.8009 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006673/0.4113, allocations: 450.2 kB / 0.8013 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.4113, allocations: 32 kB / 0.8013 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.4125, allocations: 0.573 MB / 0.8019 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.4128, allocations: 255.2 kB / 0.8022 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004209/0.4133, allocations: 383.7 kB / 0.8025 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.4143, allocations: 0.8881 MB / 0.8034 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 1.162e-05/0.4144, allocations: 4 kB / 0.8034 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.056e-06/0.4144, allocations: 7.938 kB / 0.8034 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.4144, allocations: 0 / 0.8034 GB, free: 12.3 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00164/0.4161, allocations: 0.9077 MB / 0.8043 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/0.4161, allocations: 12.03 kB / 0.8043 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001522/0.4176, allocations: 219.7 kB / 0.8045 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.4185, allocations: 0.5336 MB / 0.805 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.4186, allocations: 45.69 kB / 0.8051 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4187, allocations: 64.3 kB / 0.8051 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.4203, allocations: 1.034 MB / 0.8061 GB, free: 9.293 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.4204, allocations: 11.84 kB / 0.8061 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/0.4204, allocations: 27.98 kB / 0.8062 GB, free: 9.254 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.4206, allocations: 73.27 kB / 0.8062 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.4217, allocations: 0.6918 MB / 0.8069 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006035/0.4277, allocations: 5.76 MB / 0.8125 GB, free: 2.305 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009318/0.4287, allocations: 0.5938 MB / 0.8131 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.4295, allocations: 420.7 kB / 0.8135 GB, free: 1.258 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.4296, allocations: 7.781 kB / 0.8135 GB, free: 1.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.4296, allocations: 38.56 kB / 0.8136 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=41): time 3.357e-06/0.4296, allocations: 0 / 0.8136 GB, free: 1.203 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.004903/0.4345, allocations: 2.065 MB / 0.8156 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.4346, allocations: 55.41 kB / 0.8156 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000562/0.4352, allocations: 462.6 kB / 0.8161 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.4352, allocations: 41.64 kB / 0.8161 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.4355, allocations: 379.1 kB / 0.8165 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/0.4357, allocations: 157.8 kB / 0.8166 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/0.4358, allocations: 49.69 kB / 0.8167 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002884/0.4361, allocations: 370.7 kB / 0.817 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.4365, allocations: 241.2 kB / 0.8173 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.4372, allocations: 457 kB / 0.8177 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.4383, allocations: 0.748 MB / 0.8184 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.4383, allocations: 4 kB / 0.8184 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002101/0.4404, allocations: 1.069 MB / 0.8195 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.4404, allocations: 8 kB / 0.8195 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4404, allocations: 7.984 kB / 0.8195 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.4416, allocations: 335.6 kB / 0.8198 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.4419, allocations: 103.8 kB / 0.8199 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/0.4496, allocations: 6.946 MB / 0.8267 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005619/0.4502, allocations: 28.03 kB / 0.8267 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.4503, allocations: 28 kB / 0.8268 GB, free: 2.793 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004332/0.4507, allocations: 252.8 kB / 0.827 GB, free: 2.539 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.27e-05/0.4508, allocations: 59.34 kB / 0.827 GB, free: 2.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/0.4526, allocations: 0.9081 MB / 0.8279 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4526, allocations: 8 kB / 0.8279 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.4527, allocations: 4 kB / 0.8279 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.4527, allocations: 3.984 kB / 0.828 GB, free: 1.535 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002782/0.4555, allocations: 1.712 MB / 0.8296 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4555, allocations: 0 / 0.8296 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.4556, allocations: 43.91 kB / 0.8297 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009494/0.4566, allocations: 323.5 kB / 0.83 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.183e-05/0.4566, allocations: 12 kB / 0.83 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007467/0.4641, allocations: 6.943 MB / 0.8368 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4642, allocations: 0 / 0.8368 GB, free: 7.871 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002047/0.4662, allocations: 1.011 MB / 0.8378 GB, free: 6.812 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003871/0.4666, allocations: 180.3 kB / 0.8379 GB, free: 6.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.4668, allocations: 8 kB / 0.8379 GB, free: 6.609 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000349/0.4672, allocations: 23.97 kB / 0.838 GB, free: 6.586 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.4673, allocations: 39.89 kB / 0.838 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.4673, allocations: 15.94 kB / 0.838 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000492/0.4678, allocations: 306.9 kB / 0.8383 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4678, allocations: 0 / 0.8383 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001031/0.4689, allocations: 196 kB / 0.8385 GB, free: 6.043 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002278/0.4691, allocations: 115.2 kB / 0.8386 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002454/0.4716, allocations: 1.207 MB / 0.8398 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.4716, allocations: 0 / 0.8398 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.4731, allocations: 0.8579 MB / 0.8406 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001307/0.4744, allocations: 185.4 kB / 0.8408 GB, free: 3.578 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003432/0.4778, allocations: 1.609 MB / 0.8424 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009213/0.4788, allocations: 0.9881 MB / 0.8433 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.4789, allocations: 39.44 kB / 0.8434 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of SimCode: time 1.954e-06/0.4789, allocations: 4 kB / 0.8434 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of Templates: time 0.03079/0.5097, allocations: 18.35 MB / 0.8613 GB, free: 14.52 MB / 0.6856 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_LCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1