Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.0008311, 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.0008821/0.0008821, allocations: 177.7 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.513/1.513, allocations: 223.2 MB / 240.6 MB, free: 5.418 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.493/2.493, allocations: 390.5 MB / 0.6662 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.0003427, allocations: 12 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9425/0.9429, allocations: 142.3 MB / 0.9544 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003476/0.9464, allocations: 2.621 MB / 0.957 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00264/0.9491, allocations: 1.613 MB / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.9493, allocations: 3.031 kB / 0.9586 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.9495, allocations: 31.66 kB / 0.9586 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.9499, allocations: 158.6 kB / 0.9587 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005583/0.9505, allocations: 182.1 kB / 0.9589 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000474/0.951, allocations: 422.6 kB / 0.9593 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000749/0.9518, allocations: 380.3 kB / 0.9597 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.952, allocations: 134.6 kB / 0.9598 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003277/0.9523, allocations: 164.6 kB / 0.96 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.9524, allocations: 13.22 kB / 0.96 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.9527, allocations: 143.8 kB / 0.9601 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.9529, allocations: 79.42 kB / 0.9602 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.953, allocations: 75.14 kB / 0.9603 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.9534, allocations: 348 kB / 0.9606 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.9534, allocations: 0 / 0.9606 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9534, allocations: 0 / 0.9606 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.9535, allocations: 4.969 kB / 0.9606 GB, free: 3.48 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001166/0.9546, allocations: 0.6008 MB / 0.9612 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.9547, allocations: 14.12 kB / 0.9612 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006805/0.9554, allocations: 97.03 kB / 0.9613 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.9557, allocations: 273 kB / 0.9616 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.9557, allocations: 13.12 kB / 0.9616 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.344e-05/0.9558, allocations: 26.09 kB / 0.9616 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008468/0.9567, allocations: 428.8 kB / 0.962 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.9567, allocations: 0 / 0.962 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.9567, allocations: 10.86 kB / 0.962 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.074e-05/0.9568, allocations: 29.81 kB / 0.962 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009577/0.9578, allocations: 415.3 kB / 0.9624 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.9595, allocations: 1.604 MB / 0.964 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/0.9607, allocations: 485 kB / 0.9645 GB, free: 396 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/0.9612, allocations: 208.8 kB / 0.9647 GB, free: 288 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001526/0.9613, allocations: 92.19 kB / 0.9647 GB, free: 184 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006019/0.9619, allocations: 277.8 kB / 0.965 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=27): time 2.204e-06/0.9619, allocations: 0 / 0.965 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=28): time 0.00202/0.964, allocations: 0.779 MB / 0.9658 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.964, allocations: 88.83 kB / 0.9659 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.9643, allocations: 233.2 kB / 0.9661 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.76e-05/0.9644, allocations: 31.8 kB / 0.9661 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.9645, allocations: 166.4 kB / 0.9663 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.749e-05/0.9646, allocations: 98.77 kB / 0.9664 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/0.9647, allocations: 6.031 kB / 0.9664 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.9648, allocations: 331.9 kB / 0.9667 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.9653, allocations: 181.5 kB / 0.9669 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/0.9658, allocations: 254.6 kB / 0.9671 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005144/0.9663, allocations: 234.2 kB / 0.9673 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.9663, allocations: 1 kB / 0.9673 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001266/0.9676, allocations: 0.5528 MB / 0.9679 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.9677, allocations: 188.9 kB / 0.968 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.9678, allocations: 2.188 kB / 0.968 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002669/0.968, allocations: 41.95 kB / 0.9681 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.9685, allocations: 95.28 kB / 0.9682 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001606/0.9701, allocations: 1.494 MB / 0.9696 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.9704, allocations: 50.67 kB / 0.9697 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.9705, allocations: 19.36 kB / 0.9697 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.9705, allocations: 2.906 kB / 0.9697 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001187/0.9717, allocations: 0.4972 MB / 0.9702 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.9717, allocations: 13.95 kB / 0.9702 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.9719, allocations: 40.8 kB / 0.9702 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003545/0.9722, allocations: 85.14 kB / 0.9703 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.9736, allocations: 1.486 MB / 0.9718 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.9739, allocations: 50 kB / 0.9718 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.9739, allocations: 18.77 kB / 0.9718 GB, free: 10.37 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002848/0.9742, allocations: 229.3 kB / 0.9721 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.012e-05/0.9743, allocations: 31.83 kB / 0.9721 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001105/0.9754, allocations: 494.3 kB / 0.9726 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.9754, allocations: 3.969 kB / 0.9726 GB, free: 9.867 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.9754, allocations: 5.062 kB / 0.9726 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.9754, allocations: 5.109 kB / 0.9726 GB, free: 9.859 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.9762, allocations: 0.5753 MB / 0.9731 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.9762, allocations: 1.094 kB / 0.9731 GB, free: 9.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000364/0.9766, allocations: 75.23 kB / 0.9732 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/0.9767, allocations: 34.73 kB / 0.9732 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.9768, allocations: 14.89 kB / 0.9733 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.9779, allocations: 1.405 MB / 0.9746 GB, free: 7.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.9779, allocations: 9.125 kB / 0.9746 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.979, allocations: 0.557 MB / 0.9752 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.9792, allocations: 139.9 kB / 0.9753 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.9792, allocations: 10.23 kB / 0.9753 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.9795, allocations: 40.08 kB / 0.9754 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.9797, allocations: 36.66 kB / 0.9754 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.9797, allocations: 10.94 kB / 0.9754 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001937/0.9799, allocations: 172.3 kB / 0.9756 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9799, allocations: 0 / 0.9756 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007231/0.9806, allocations: 128.4 kB / 0.9757 GB, free: 7.191 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002268/0.9809, allocations: 120.3 kB / 0.9758 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.9829, allocations: 1.007 MB / 0.9768 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.9829, allocations: 0 / 0.9768 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000644/0.9836, allocations: 340.4 kB / 0.9771 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004837/0.9841, allocations: 51 kB / 0.9772 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.9855, allocations: 0.7733 MB / 0.9779 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.986, allocations: 0.7876 MB / 0.9787 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.9861, allocations: 25.28 kB / 0.9787 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.9861, allocations: 0 / 0.9787 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of Templates: time 0.008763/0.9949, allocations: 5.105 MB / 0.9837 GB, free: 0.9805 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSourceCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSourceCalcHelperMain.o] Error 1