Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007681/0.0007682, allocations: 100.5 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.001179/0.001179, allocations: 174.2 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.503/1.503, allocations: 223.3 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.52/2.52, allocations: 390.4 MB / 0.6662 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 12 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8886/0.8889, allocations: 142.3 MB / 0.9544 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.001913/0.8909, allocations: 1.204 MB / 0.9556 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007095/0.8917, allocations: 390.7 kB / 0.956 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.179e-05/0.8917, allocations: 8.5 kB / 0.956 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.8918, allocations: 0 / 0.956 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.8919, allocations: 13.97 kB / 0.956 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.8921, allocations: 14.48 kB / 0.956 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001039/0.8922, allocations: 48.89 kB / 0.956 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.8923, allocations: 5.625 kB / 0.9561 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.8924, allocations: 23.75 kB / 0.9561 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.208e-05/0.8925, allocations: 16.14 kB / 0.9561 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.8925, allocations: 5.375 kB / 0.9561 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.8926, allocations: 1.344 kB / 0.9561 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.876e-05/0.8926, allocations: 13.11 kB / 0.9561 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.8926, allocations: 29.92 kB / 0.9561 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.604e-05/0.8927, allocations: 33.56 kB / 0.9562 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.8927, allocations: 0 / 0.9562 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8927, allocations: 0 / 0.9562 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.8928, allocations: 1.188 kB / 0.9562 GB, free: 6.957 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005076/0.8933, allocations: 356.9 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.8933, allocations: 9.156 kB / 0.9565 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.8934, allocations: 10.52 kB / 0.9565 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.8935, allocations: 175.2 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.8935, allocations: 1.219 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.8935, allocations: 1.625 kB / 0.9567 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.8937, allocations: 62.17 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.8937, allocations: 0 / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.8938, allocations: 1.406 kB / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.8938, allocations: 0 / 0.9568 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.8939, allocations: 51.05 kB / 0.9568 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004082/0.8943, allocations: 266.9 kB / 0.9571 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.8945, allocations: 48.78 kB / 0.9571 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.6e-05/0.8946, allocations: 28.47 kB / 0.9571 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.8946, allocations: 0 / 0.9571 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.8946, allocations: 39.95 kB / 0.9572 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.8946, allocations: 0 / 0.9572 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0003407/0.895, allocations: 106.4 kB / 0.9573 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.895, allocations: 52.5 kB / 0.9573 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.8951, allocations: 123.8 kB / 0.9574 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.8952, allocations: 25.7 kB / 0.9575 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.8952, allocations: 94.88 kB / 0.9576 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.734e-05/0.8953, allocations: 21.69 kB / 0.9576 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.8953, allocations: 0 / 0.9576 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8954, allocations: 316 kB / 0.9579 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.8955, allocations: 17.12 kB / 0.9579 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.897e-05/0.8955, allocations: 26.08 kB / 0.9579 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.8956, allocations: 29.44 kB / 0.958 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8956, allocations: 1.031 kB / 0.958 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001739/0.8958, allocations: 78.81 kB / 0.958 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.8958, allocations: 4.875 kB / 0.958 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.8959, allocations: 4 kB / 0.958 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.8959, allocations: 5.047 kB / 0.958 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.896, allocations: 12.67 kB / 0.9581 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.896, allocations: 3.984 kB / 0.9581 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.8961, allocations: 9.469 kB / 0.9581 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.8961, allocations: 1 kB / 0.9581 GB, free: 5.09 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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 7.458e-05/0.8962, allocations: 111.9 kB / 0.9582 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.8962, allocations: 10.72 kB / 0.9582 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.168e-05/0.8962, allocations: 8.875 kB / 0.9582 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8962, allocations: 1.031 kB / 0.9582 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.8963, allocations: 3.953 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8963, allocations: 1 kB / 0.9582 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.8964, allocations: 166.3 kB / 0.9584 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.8964, allocations: 1.406 kB / 0.9584 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/0.8965, allocations: 12.14 kB / 0.9584 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.8965, allocations: 0 / 0.9584 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.8965, allocations: 1.438 kB / 0.9584 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8965, allocations: 4 kB / 0.9584 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8965, allocations: 3.984 kB / 0.9584 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/0.8968, allocations: 181.9 kB / 0.9586 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.8968, allocations: 78.3 kB / 0.9586 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.8968, allocations: 9.109 kB / 0.9586 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.8969, allocations: 4.75 kB / 0.9586 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.897, allocations: 1.188 kB / 0.9586 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.897, allocations: 5.016 kB / 0.9586 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.897, allocations: 96.14 kB / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8971, allocations: 1.125 kB / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002187/0.8973, allocations: 11.06 kB / 0.9587 GB, free: 4.375 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001409/0.8974, allocations: 103.9 kB / 0.9588 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001926/0.8976, allocations: 42.31 kB / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8976, allocations: 1 kB / 0.9589 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.8977, allocations: 27.48 kB / 0.9589 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.898, allocations: 9.875 kB / 0.9589 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.8984, allocations: 206.2 kB / 0.9591 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.8986, allocations: 0.6847 MB / 0.9598 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.8986, allocations: 17.44 kB / 0.9598 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.8986, allocations: 3.938 kB / 0.9598 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of Templates: time 0.003051/0.9017, allocations: 0.6996 MB / 0.9605 GB, free: 2.984 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile make -j1 -f Buildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalcCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalcCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalcCalcHelperMain.o] Error 1