Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs") translateModel(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0009151/0.0009151, allocations: 92.55 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.001024/0.001024, allocations: 184.2 kB / 16.92 MB, free: 6.922 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9671/0.9671, allocations: 135.3 MB / 427.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 12.72 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1775, allocations: 82.32 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs): time 0.007671/0.1853, allocations: 6.568 MB / 0.595 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4378/0.6231, allocations: 151.6 MB / 0.743 GB, free: 8.738 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/0.6248, allocations: 27.69 kB / 0.7431 GB, free: 8.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.6258, allocations: 215.2 kB / 0.7433 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.6287, allocations: 0.6043 MB / 0.7439 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003344/0.632, allocations: 1.052 MB / 0.7449 GB, free: 7.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004805/0.6368, allocations: 3.907 MB / 0.7487 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002897/0.6398, allocations: 2.523 MB / 0.7512 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002848/0.6426, allocations: 1.108 MB / 0.7522 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.6441, allocations: 1.232 MB / 0.7534 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.6443, allocations: 83.31 kB / 0.7535 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.6459, allocations: 0.6557 MB / 0.7542 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004454/0.6464, allocations: 0.5323 MB / 0.7547 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00129/0.6477, allocations: 1.325 MB / 0.756 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003359/0.651, allocations: 3.359 MB / 0.7593 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.6511, allocations: 0 / 0.7593 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.316e-06/0.6511, allocations: 4 kB / 0.7593 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.632e-05/0.6511, allocations: 0 / 0.7593 GB, free: 13.3 MB / 0.5762 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.006085/0.6572, allocations: 3.152 MB / 0.7623 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.6573, allocations: 8.031 kB / 0.7623 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009373/0.6667, allocations: 1.364 MB / 0.7637 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003609/0.6703, allocations: 1.883 MB / 0.7655 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.6705, allocations: 230.1 kB / 0.7657 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005319/0.6711, allocations: 292 kB / 0.766 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008647/0.6797, allocations: 4.22 MB / 0.7701 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.575e-05/0.6798, allocations: 3.938 kB / 0.7701 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000322/0.6801, allocations: 131.9 kB / 0.7703 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/0.6802, allocations: 76 kB / 0.7703 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.6908, allocations: 4.6 MB / 0.7748 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02161/0.7124, allocations: 12.9 MB / 0.7874 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.7232, allocations: 3.789 MB / 0.7911 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004039/0.7273, allocations: 1.569 MB / 0.7927 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/0.7285, allocations: 1.077 MB / 0.7937 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004817/0.7334, allocations: 1.948 MB / 0.7956 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=223): time 4.889e-06/0.7334, allocations: 0 / 0.7956 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223): time 0.0131/0.7465, allocations: 4.933 MB / 0.8004 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/0.7467, allocations: 257.3 kB / 0.8007 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.75, allocations: 1.909 MB / 0.8025 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003918/0.7504, allocations: 61.7 kB / 0.8026 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.7515, allocations: 1.212 MB / 0.8038 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009768/0.7525, allocations: 0.7547 MB / 0.8045 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/0.753, allocations: 186.1 kB / 0.8047 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.7531, allocations: 309.1 kB / 0.805 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003963/0.7571, allocations: 1.456 MB / 0.8064 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/0.7614, allocations: 1.765 MB / 0.8081 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/0.7692, allocations: 3.19 MB / 0.8113 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/0.7693, allocations: 4 kB / 0.8113 GB, free: 6.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.01033/0.7796, allocations: 3.748 MB / 0.8149 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.7797, allocations: 4 kB / 0.8149 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.7797, allocations: 10.94 kB / 0.8149 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006675/0.7804, allocations: 101.2 kB / 0.815 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003998/0.7844, allocations: 0.7176 MB / 0.8157 GB, free: 1.871 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.7869, allocations: 1.528 MB / 0.8172 GB, free: 208 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003762/0.7907, allocations: 448.3 kB / 0.8176 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004778/0.7912, allocations: 135.8 kB / 0.8178 GB, free: 15.63 MB / 0.6387 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.001999/0.7932, allocations: 0.7954 MB / 0.8186 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007298/0.7939, allocations: 229.2 kB / 0.8188 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01085/0.8048, allocations: 4.042 MB / 0.8227 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.8048, allocations: 24 kB / 0.8227 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.8048, allocations: 3.938 kB / 0.8227 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.037e-05/0.8049, allocations: 15.94 kB / 0.8228 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01448/0.8193, allocations: 7.233 MB / 0.8298 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.8194, allocations: 8 kB / 0.8298 GB, free: 3.082 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002977/0.8224, allocations: 0.5968 MB / 0.8304 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005713/0.823, allocations: 84.78 kB / 0.8305 GB, free: 2.398 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002495/0.8232, allocations: 71.94 kB / 0.8306 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.8251, allocations: 1.548 MB / 0.8321 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.8251, allocations: 0 / 0.8321 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008188/0.8333, allocations: 3.342 MB / 0.8353 GB, free: 13.28 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001533/0.8349, allocations: 0.7468 MB / 0.8361 GB, free: 12.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000572/0.8354, allocations: 47.94 kB / 0.8361 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/0.8384, allocations: 295.6 kB / 0.8364 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/0.8387, allocations: 149.8 kB / 0.8365 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002277/0.839, allocations: 87.94 kB / 0.8366 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002582/0.8416, allocations: 1.438 MB / 0.838 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8416, allocations: 0 / 0.838 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002699/0.8443, allocations: 0.8877 MB / 0.8389 GB, free: 9.594 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.001752/0.8461, allocations: 0.6788 MB / 0.8396 GB, free: 9.121 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.008454/0.8545, allocations: 3.385 MB / 0.8429 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.8546, allocations: 0 / 0.8429 GB, free: 5.723 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003968/0.8585, allocations: 1.72 MB / 0.8445 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002805/0.8614, allocations: 436.9 kB / 0.845 GB, free: 3.574 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.8765, allocations: 7.836 MB / 0.8526 GB, free: 11.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/0.8787, allocations: 2.181 MB / 0.8547 GB, free: 9.484 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001884/0.8806, allocations: 335.2 kB / 0.8551 GB, free: 9.156 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.8806, allocations: 0 / 0.8551 GB, free: 9.156 MB / 0.67 GB Notification: Performance of Templates: time 0.3537/1.234, allocations: 55.5 MB / 0.9093 GB, free: 195.2 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile make -j1 -f IDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputs.makefile clang++ -std=c++14 -fopenmp=libomp -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-master/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-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.o OMCppIDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Resources/C-Sources/getTimeSpan.c:27:9: error: cannot initialize a variable of type 'char *' with an rvalue of type 'void *' char *result = malloc(len1 + len2 + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppIDEAS_dev_IDEAS.LIDEAS.Examples.BaseClasses.SimInfoManagerInputsCalcHelperMain.o] Error 1