Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 96.14 kB / 15.87 MB, free: 16 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.001608/0.001608, allocations: 193.9 kB / 16.79 MB, free: 6.812 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7219/0.7219, allocations: 132.2 MB / 422.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 60.17 kB / 0.5017 GB, free: 9.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1566, allocations: 80.2 MB / 0.58 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.008128/0.1647, allocations: 7.089 MB / 0.5869 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4871/0.6519, allocations: 153.2 MB / 0.7366 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002382/0.6543, allocations: 28.47 kB / 0.7366 GB, free: 14 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/BoundaryConditions/Interfaces/PartialSimInfoManager.mo:151:3-154:55:writable] Warning: Connector weaBus is not balanced: The number of potential variables (20) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.001091/0.6555, allocations: 215.8 kB / 0.7368 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.6584, allocations: 0.596 MB / 0.7374 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003609/0.662, allocations: 1.055 MB / 0.7384 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005025/0.6671, allocations: 3.901 MB / 0.7422 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003291/0.6704, allocations: 2.401 MB / 0.7446 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003437/0.6738, allocations: 1.401 MB / 0.7459 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.676, allocations: 1.599 MB / 0.7475 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004949/0.6765, allocations: 194.7 kB / 0.7477 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.6786, allocations: 0.7827 MB / 0.7484 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006702/0.6793, allocations: 0.7235 MB / 0.7491 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.6812, allocations: 1.557 MB / 0.7507 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003847/0.6851, allocations: 3.465 MB / 0.7541 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6851, allocations: 0 / 0.7541 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6851, allocations: 0 / 0.7541 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001143/0.6852, allocations: 3.938 kB / 0.7541 GB, free: 1.18 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 774 * Number of variables: 774 Notification: Performance of Generate backend data structure: time 0.008336/0.6936, allocations: 3.884 MB / 0.7578 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.6936, allocations: 8.031 kB / 0.7579 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009139/0.7028, allocations: 1.299 MB / 0.7591 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/0.7069, allocations: 1.907 MB / 0.761 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.7071, allocations: 234 kB / 0.7612 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005725/0.7077, allocations: 292 kB / 0.7615 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009029/0.7167, allocations: 4.216 MB / 0.7656 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/0.7168, allocations: 0 / 0.7656 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002977/0.7171, allocations: 127.9 kB / 0.7657 GB, free: 4.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.769e-05/0.7172, allocations: 72 kB / 0.7658 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.7273, allocations: 4.596 MB / 0.7703 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02004/0.7474, allocations: 12.88 MB / 0.7829 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009371/0.7568, allocations: 3.776 MB / 0.7866 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00335/0.7602, allocations: 1.549 MB / 0.7881 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001159/0.7614, allocations: 1.081 MB / 0.7891 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003903/0.7653, allocations: 1.94 MB / 0.791 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=223): time 4.969e-06/0.7654, allocations: 0 / 0.791 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223): time 0.01181/0.7772, allocations: 4.9 MB / 0.7958 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.7773, allocations: 269.2 kB / 0.7961 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002571/0.7799, allocations: 1.951 MB / 0.798 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.7801, allocations: 65.7 kB / 0.798 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000917/0.7811, allocations: 1.228 MB / 0.7992 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006451/0.7817, allocations: 0.747 MB / 0.8 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000789/0.7825, allocations: 0.5268 MB / 0.8005 GB, free: 248 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.7826, allocations: 301.1 kB / 0.8008 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003308/0.7859, allocations: 1.448 MB / 0.8022 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/0.7896, allocations: 1.768 MB / 0.8039 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006899/0.7965, allocations: 3.186 MB / 0.807 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.7965, allocations: 0 / 0.807 GB, free: 9.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.009032/0.8056, allocations: 3.736 MB / 0.8107 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.8056, allocations: 9.25 kB / 0.8107 GB, free: 5.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.8057, allocations: 4 kB / 0.8107 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005968/0.8063, allocations: 96.95 kB / 0.8108 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003403/0.8097, allocations: 0.7097 MB / 0.8115 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.8118, allocations: 1.532 MB / 0.813 GB, free: 3.133 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.8151, allocations: 438.3 kB / 0.8134 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002886/0.8154, allocations: 131.8 kB / 0.8135 GB, free: 2.574 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 14 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,radSol[1].solAzi.outsidePolarCircle,radSol[2].solAzi.outsidePolarCircle,radSol[3].solAzi.outsidePolarCircle,radSol[4].solAzi.outsidePolarCircle,radSol[5].solAzi.outsidePolarCircle,radSol[6].solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001702/0.8171, allocations: 0.8071 MB / 0.8143 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006608/0.8178, allocations: 233.2 kB / 0.8145 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009798/0.8276, allocations: 4.038 MB / 0.8184 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/0.8277, allocations: 24 kB / 0.8185 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.8277, allocations: 3.938 kB / 0.8185 GB, free: 13.44 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/0.8278, allocations: 11.95 kB / 0.8185 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01438/0.8421, allocations: 7.233 MB / 0.8255 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.8422, allocations: 0 / 0.8255 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0028/0.845, allocations: 0.5928 MB / 0.8261 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005176/0.8455, allocations: 88.77 kB / 0.8262 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/0.8458, allocations: 71.94 kB / 0.8263 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001758/0.8475, allocations: 1.548 MB / 0.8278 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.8475, allocations: 0 / 0.8278 GB, free: 3.582 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/0.8549, allocations: 3.338 MB / 0.8311 GB, free: 228 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/0.8564, allocations: 0.6771 MB / 0.8317 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004158/0.8569, allocations: 71.62 kB / 0.8318 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/0.8591, allocations: 273.8 kB / 0.832 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003165/0.8595, allocations: 153.8 kB / 0.8322 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000185/0.8597, allocations: 79.95 kB / 0.8323 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002007/0.8617, allocations: 1.47 MB / 0.8337 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.104e-06/0.8617, allocations: 0 / 0.8337 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002527/0.8642, allocations: 0.8954 MB / 0.8346 GB, free: 12.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 248 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001539/0.8658, allocations: 0.6728 MB / 0.8352 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.007626/0.8734, allocations: 3.374 MB / 0.8385 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.8735, allocations: 0 / 0.8385 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003699/0.8772, allocations: 1.724 MB / 0.8402 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.8796, allocations: 419.9 kB / 0.8406 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.8933, allocations: 7.789 MB / 0.8482 GB, free: 14.74 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.895, allocations: 2.202 MB / 0.8504 GB, free: 12.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00181/0.8968, allocations: 327.2 kB / 0.8507 GB, free: 12.18 MB / 0.67 GB Notification: Performance of SimCode: time 6.21e-07/0.8968, allocations: 0 / 0.8507 GB, free: 12.18 MB / 0.67 GB Notification: Performance of Templates: time 0.3649/1.262, allocations: 56.41 MB / 0.9058 GB, free: 207 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile make -j1 -f IDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.o OMCppIDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.o] Error 1