Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|varRL.i.1.|varRL.i.2.|RL.i.1.|RL.i.2.|varRC.i.1.|varRC.i.2.|RC.i.1.|RC.i.2.|R.i.1.|R.i.2.|RL.S.1.|RL.S.2.|RC.S.1.|RC.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008351/0.0008351, allocations: 100.9 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.0009122/0.0009123, allocations: 176.3 kB / 16.58 MB, free: 6.422 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.445/1.445, allocations: 223.2 MB / 240.6 MB, free: 5.426 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.565/2.565, allocations: 390.5 MB / 0.6662 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.000368, allocations: 8 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9038/0.9041, 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.ParallelLoads): time 0.004488/0.9087, allocations: 3.679 MB / 0.958 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003814/0.9125, allocations: 2.486 MB / 0.9604 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002879/0.9129, allocations: 11.84 kB / 0.9604 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.9131, allocations: 69.05 kB / 0.9605 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007935/0.9139, allocations: 295.2 kB / 0.9608 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001117/0.9151, allocations: 421.1 kB / 0.9612 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008941/0.916, allocations: 0.7987 MB / 0.962 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008325/0.9168, allocations: 0.4961 MB / 0.9625 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003515/0.9172, allocations: 222.4 kB / 0.9627 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.9177, allocations: 317.1 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.203e-05/0.9178, allocations: 18.16 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004069/0.9182, allocations: 144.2 kB / 0.9631 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.9184, allocations: 172.2 kB / 0.9633 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.9185, allocations: 106.8 kB / 0.9634 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005255/0.919, allocations: 0.5284 MB / 0.9639 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.919, allocations: 1 kB / 0.9639 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.455e-06/0.919, allocations: 0 / 0.9639 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.294e-05/0.9191, allocations: 4 kB / 0.9639 GB, free: 1.008 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001167/0.9202, allocations: 0.7188 MB / 0.9646 GB, free: 404 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.9203, allocations: 8.562 kB / 0.9646 GB, free: 404 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008039/0.9211, allocations: 150.7 kB / 0.9648 GB, free: 328 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.9215, allocations: 350.5 kB / 0.9651 GB, free: 8 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.9216, allocations: 33.19 kB / 0.9651 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.777e-05/0.9217, allocations: 44.84 kB / 0.9652 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.923, allocations: 0.825 MB / 0.966 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.9231, allocations: 6.031 kB / 0.966 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/0.9232, allocations: 23.02 kB / 0.966 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/0.9233, allocations: 64.39 kB / 0.9661 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.9246, allocations: 0.6611 MB / 0.9667 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004314/0.9289, allocations: 4.629 MB / 0.9712 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009979/0.9299, allocations: 0.4911 MB / 0.9717 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.9304, allocations: 284 kB / 0.972 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.9305, allocations: 8.141 kB / 0.972 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.9305, allocations: 45.36 kB / 0.972 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.9305, allocations: 0 / 0.972 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.00197/0.9325, allocations: 0.9004 MB / 0.9729 GB, free: 9.598 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.9326, allocations: 80.92 kB / 0.973 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.933, allocations: 362.9 kB / 0.9733 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.9331, allocations: 35.05 kB / 0.9734 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.9333, allocations: 283.5 kB / 0.9737 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.9334, allocations: 118.5 kB / 0.9738 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.9334, allocations: 17.97 kB / 0.9738 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.9336, allocations: 344.3 kB / 0.9741 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005042/0.9341, allocations: 259.9 kB / 0.9744 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/0.9348, allocations: 477.4 kB / 0.9748 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006213/0.9354, allocations: 333.8 kB / 0.9751 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.9354, allocations: 3 kB / 0.9751 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001566/0.937, allocations: 0.7778 MB / 0.9759 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.9373, allocations: 296.5 kB / 0.9762 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.9373, allocations: 7.812 kB / 0.9762 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.688e-05/0.9373, allocations: 15.77 kB / 0.9762 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/0.9381, allocations: 171.6 kB / 0.9764 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.783e-05/0.9381, allocations: 14.27 kB / 0.9764 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.9386, allocations: 71.53 kB / 0.9764 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.454e-05/0.9387, allocations: 25.72 kB / 0.9765 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.9387, allocations: 3 kB / 0.9765 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001104/0.9398, allocations: 0.6154 MB / 0.9771 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.9398, allocations: 6.406 kB / 0.9771 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.9398, allocations: 11.81 kB / 0.9771 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005084/0.9403, allocations: 143.7 kB / 0.9772 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.9404, allocations: 18.42 kB / 0.9772 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.9407, allocations: 63.95 kB / 0.9773 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.9408, allocations: 24.62 kB / 0.9773 GB, free: 6.574 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (67): * Single equations (assignments): 67 * 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 prepare postOptimizeDAE: time 0.0003634/0.9411, allocations: 288 kB / 0.9776 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.9413, allocations: 43.19 kB / 0.9776 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.9424, allocations: 0.5791 MB / 0.9782 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.9425, allocations: 4.906 kB / 0.9782 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.9425, allocations: 0 / 0.9782 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.9425, allocations: 13.39 kB / 0.9782 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.9453, allocations: 1.623 MB / 0.9798 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.9454, allocations: 3.844 kB / 0.9798 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.9459, allocations: 117.4 kB / 0.9799 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.9459, allocations: 6.25 kB / 0.9799 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.946, allocations: 18.47 kB / 0.98 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.003e-05/0.946, allocations: 8.656 kB / 0.98 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.946, allocations: 4.188 kB / 0.98 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.9473, allocations: 0.8096 MB / 0.9808 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002343/0.9475, allocations: 172.4 kB / 0.9809 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.716e-05/0.9476, allocations: 12 kB / 0.9809 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003853/0.948, allocations: 47.94 kB / 0.981 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/0.9481, allocations: 35.86 kB / 0.981 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.9481, allocations: 16 kB / 0.981 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002897/0.9484, allocations: 255.1 kB / 0.9813 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9484, allocations: 0 / 0.9813 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001006/0.9495, allocations: 192 kB / 0.9815 GB, free: 3.352 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (35): * Single equations (assignments): 35 * 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.0001605/0.9496, allocations: 111.1 kB / 0.9816 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.9512, allocations: 0.9252 MB / 0.9825 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.9513, allocations: 0 / 0.9825 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.9517, allocations: 278.3 kB / 0.9827 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.9526, allocations: 119.2 kB / 0.9828 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.9544, allocations: 1.275 MB / 0.9841 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.9549, allocations: 0.8673 MB / 0.9849 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.9551, allocations: 47.42 kB / 0.985 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of SimCode: time 1.353e-06/0.9551, allocations: 4 kB / 0.985 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.01025/0.9654, allocations: 6.342 MB / 0.9912 GB, free: 9.301 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.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.ParallelLoadsCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoadsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoadsCalcHelperMain.o] Error 1