Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 109.2 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 194.1 kB / 16.91 MB, free: 6.184 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8202/0.8202, allocations: 135.1 MB / 425.9 MB, free: 4.363 MB / 334.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 55.91 kB / 0.5055 GB, free: 8.777 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4587/0.4602, allocations: 80.92 MB / 0.5845 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.008762/0.469, allocations: 6.919 MB / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1788/0.6478, allocations: 153.4 MB / 0.7411 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.6495, allocations: 31.88 kB / 0.7411 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008703/0.6504, allocations: 226.1 kB / 0.7413 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002463/0.6529, allocations: 0.621 MB / 0.7419 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003026/0.656, allocations: 1.155 MB / 0.7431 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004749/0.6607, allocations: 4.582 MB / 0.7475 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.6641, allocations: 2.879 MB / 0.7503 GB, free: 360 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4285/1.093, allocations: 1.737 MB / 0.752 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003092/1.096, allocations: 1.78 MB / 0.7538 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008225/1.097, allocations: 470.2 kB / 0.7542 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/1.099, allocations: 1.035 MB / 0.7552 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009754/1.1, allocations: 0.9914 MB / 0.7562 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003861/1.104, allocations: 1.879 MB / 0.758 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007954/1.112, allocations: 4.324 MB / 0.7623 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.112, allocations: 0.5312 kB / 0.7623 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.174e-06/1.112, allocations: 1.188 kB / 0.7623 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002384/1.112, allocations: 3.656 kB / 0.7623 GB, free: 4.305 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: 767 * Number of variables: 767 Notification: Performance of Generate backend data structure: time 0.01138/1.123, allocations: 3.857 MB / 0.766 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.123, allocations: 12.23 kB / 0.766 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/1.134, allocations: 1.276 MB / 0.7673 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005405/1.139, allocations: 2.097 MB / 0.7693 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/1.14, allocations: 229.2 kB / 0.7696 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00083/1.14, allocations: 297.7 kB / 0.7698 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/1.151, allocations: 4.451 MB / 0.7742 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-05/1.151, allocations: 6.219 kB / 0.7742 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/1.152, allocations: 122.4 kB / 0.7743 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.484e-05/1.152, allocations: 71.38 kB / 0.7744 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/1.163, allocations: 4.89 MB / 0.7792 GB, free: 1.691 MB / 0.5762 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02644/1.189, allocations: 14.12 MB / 0.7929 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01066/1.2, allocations: 4.036 MB / 0.7969 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004032/1.204, allocations: 1.661 MB / 0.7985 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.205, allocations: 1.076 MB / 0.7996 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005172/1.211, allocations: 2.037 MB / 0.8016 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=214): time 8.376e-06/1.211, allocations: 0 / 0.8016 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=214): time 0.01515/1.226, allocations: 5.22 MB / 0.8066 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001514/1.226, allocations: 213.9 kB / 0.8069 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004421/1.23, allocations: 1.927 MB / 0.8087 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0006194/1.231, allocations: 63.08 kB / 0.8088 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001556/1.233, allocations: 1.168 MB / 0.8099 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001309/1.234, allocations: 0.7213 MB / 0.8106 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002013/1.236, allocations: 0.5167 MB / 0.8111 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.236, allocations: 301.1 kB / 0.8114 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004163/1.24, allocations: 1.58 MB / 0.813 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004526/1.245, allocations: 1.876 MB / 0.8148 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008699/1.254, allocations: 3.422 MB / 0.8181 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/1.254, allocations: 4 kB / 0.8182 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01242/1.266, allocations: 3.951 MB / 0.822 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.949e-05/1.266, allocations: 18.03 kB / 0.822 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/1.266, allocations: 4 kB / 0.822 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/1.267, allocations: 92.78 kB / 0.8221 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00414/1.271, allocations: 0.7 MB / 0.8228 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/1.274, allocations: 1.692 MB / 0.8245 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004513/1.278, allocations: 437.5 kB / 0.8249 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009883/1.279, allocations: 135.8 kB / 0.825 GB, free: 11 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (sim.weaDat.conTim.canRepeatWeatherFile,sim.weaDat.conTimMin.canRepeatWeatherFile,sim.radSol[1].solAzi.outsidePolarCircle,sim.radSol[2].solAzi.outsidePolarCircle,sim.radSol[3].solAzi.outsidePolarCircle,sim.radSol[4].solAzi.outsidePolarCircle,sim.radSol[5].solAzi.outsidePolarCircle,sim.radSol[6].solAzi.outsidePolarCircle,sim.weaDat.conTim.tNext,$PRE.sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext,$PRE.sim.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 (273): * Single equations (assignments): 272 * 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.003709/1.283, allocations: 0.933 MB / 0.8259 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001529/1.284, allocations: 213.4 kB / 0.8261 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/1.298, allocations: 4.203 MB / 0.8302 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.972e-05/1.298, allocations: 27.98 kB / 0.8302 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/1.298, allocations: 0 / 0.8302 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.901e-05/1.298, allocations: 7.969 kB / 0.8303 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0193/1.317, allocations: 7.891 MB / 0.838 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/1.317, allocations: 4 kB / 0.838 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003215/1.32, allocations: 0.5723 MB / 0.8385 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000516/1.321, allocations: 84.78 kB / 0.8386 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004717/1.321, allocations: 63.95 kB / 0.8387 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/1.324, allocations: 1.721 MB / 0.8403 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.324, allocations: 0 / 0.8403 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/1.334, allocations: 3.465 MB / 0.8437 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002254/1.336, allocations: 0.7474 MB / 0.8445 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00127/1.337, allocations: 59.69 kB / 0.8445 GB, free: 6.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003541/1.341, allocations: 267.6 kB / 0.8448 GB, free: 6.508 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005948/1.342, allocations: 149.8 kB / 0.8449 GB, free: 6.363 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004522/1.342, allocations: 83.94 kB / 0.845 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003864/1.346, allocations: 1.478 MB / 0.8464 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.9e-07/1.346, allocations: 0 / 0.8464 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005084/1.351, allocations: 0.8721 MB / 0.8473 GB, free: 3.906 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,sim.weaDat.conTimMin.tNext,sim.weaDat.conTim.tNext) * Number of discrete states: 2 (sim.weaDat.conTim.tNext,sim.weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (242): * Single equations (assignments): 239 * 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.002575/1.354, allocations: 0.6804 MB / 0.848 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01725/1.371, allocations: 5.929 MB / 0.8537 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/1.371, allocations: 12.12 kB / 0.8538 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004953/1.376, allocations: 1.793 MB / 0.8555 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004196/1.38, allocations: 436 kB / 0.8559 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01901/1.399, allocations: 7.715 MB / 0.8635 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00365/1.403, allocations: 2.226 MB / 0.8656 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002723/1.406, allocations: 315.2 kB / 0.8659 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of SimCode: time 1.813e-06/1.406, allocations: 0 / 0.8659 GB, free: 1.125 MB / 0.6387 GB Notification: Performance of Templates: time 0.09241/1.498, allocations: 59.34 MB / 0.9239 GB, free: 5.926 MB / 0.7012 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.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.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.o OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezFunctions.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.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.o] Error 1