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.001454/0.001455, allocations: 110 kB / 15.99 MB, free: 6.75 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.001471/0.001471, allocations: 199.2 kB / 16.91 MB, free: 6.523 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.327/1.327, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9078/0.9078, allocations: 135.2 MB / 425.9 MB, free: 12.02 MB / 350.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 59.09 kB / 0.5055 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.148, allocations: 80.94 MB / 0.5846 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.009156/0.1572, allocations: 6.921 MB / 0.5913 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3847/0.5419, allocations: 153.4 MB / 0.7411 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008453/0.5428, allocations: 28.19 kB / 0.7412 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006829/0.5435, allocations: 226 kB / 0.7414 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.5453, allocations: 0.6107 MB / 0.742 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002445/0.5477, allocations: 1.157 MB / 0.7431 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004189/0.5519, allocations: 4.575 MB / 0.7476 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002965/0.5549, allocations: 2.874 MB / 0.7504 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.5582, allocations: 1.751 MB / 0.7521 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.5601, allocations: 1.786 MB / 0.7538 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005854/0.5607, allocations: 464 kB / 0.7543 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.5624, allocations: 1.042 MB / 0.7553 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008406/0.5633, allocations: 0.9893 MB / 0.7563 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.5652, allocations: 1.874 MB / 0.7581 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004322/0.5695, allocations: 4.316 MB / 0.7623 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.5695, allocations: 4 kB / 0.7623 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5695, allocations: 7.938 kB / 0.7623 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.43e-05/0.5696, allocations: 0 / 0.7623 GB, free: 7.332 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.007315/0.5769, allocations: 3.857 MB / 0.7661 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.577, allocations: 8.031 kB / 0.7661 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009171/0.5861, allocations: 1.283 MB / 0.7674 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003284/0.5894, allocations: 2.104 MB / 0.7694 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001992/0.5896, allocations: 230 kB / 0.7696 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004871/0.5901, allocations: 288 kB / 0.7699 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00879/0.5989, allocations: 4.456 MB / 0.7743 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.599, allocations: 0 / 0.7743 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003249/0.5993, allocations: 124 kB / 0.7744 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.678e-05/0.5994, allocations: 76 kB / 0.7744 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/0.61, allocations: 4.885 MB / 0.7792 GB, free: 5.785 MB / 0.5919 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.0216/0.6316, allocations: 14.13 MB / 0.793 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.6418, allocations: 4.031 MB / 0.797 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003565/0.6453, allocations: 1.669 MB / 0.7986 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.6466, allocations: 1.073 MB / 0.7996 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004233/0.6508, allocations: 2.027 MB / 0.8016 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=214): time 6.843e-06/0.6508, allocations: 3.984 kB / 0.8016 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of matching and sorting (n=214): time 0.01282/0.6637, allocations: 5.23 MB / 0.8067 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.6638, allocations: 205.9 kB / 0.8069 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002711/0.6665, allocations: 1.935 MB / 0.8088 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.6668, allocations: 61.7 kB / 0.8089 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.6678, allocations: 1.168 MB / 0.81 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007332/0.6686, allocations: 0.7162 MB / 0.8107 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009247/0.6695, allocations: 0.5189 MB / 0.8112 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6696, allocations: 305.1 kB / 0.8115 GB, free: 3.605 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003652/0.6733, allocations: 1.577 MB / 0.813 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003977/0.6773, allocations: 1.871 MB / 0.8149 GB, free: 64 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00759/0.6849, allocations: 3.416 MB / 0.8182 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/0.6849, allocations: 8 kB / 0.8182 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.009457/0.6944, allocations: 3.956 MB / 0.8221 GB, free: 8.602 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.6944, allocations: 8 kB / 0.8221 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.6944, allocations: 4 kB / 0.8221 GB, free: 8.59 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/0.695, allocations: 93.25 kB / 0.8222 GB, free: 8.496 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003424/0.6985, allocations: 0.702 MB / 0.8229 GB, free: 7.793 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/0.7007, allocations: 1.701 MB / 0.8245 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/0.7039, allocations: 425.6 kB / 0.8249 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/0.7042, allocations: 131.8 kB / 0.8251 GB, free: 5.402 MB / 0.6387 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.001682/0.7059, allocations: 0.929 MB / 0.826 GB, free: 4.465 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005249/0.7064, allocations: 213.4 kB / 0.8262 GB, free: 4.254 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/0.7165, allocations: 4.205 MB / 0.8303 GB, free: 24 kB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.748e-05/0.7165, allocations: 24 kB / 0.8303 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.7165, allocations: 0 / 0.8303 GB, free: 0 / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.352e-05/0.7166, allocations: 12.02 kB / 0.8303 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.7305, allocations: 7.902 MB / 0.838 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.832e-06/0.7305, allocations: 0 / 0.838 GB, free: 7.918 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002865/0.7334, allocations: 0.5772 MB / 0.8386 GB, free: 7.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000433/0.7338, allocations: 80.78 kB / 0.8387 GB, free: 7.258 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/0.734, allocations: 67.94 kB / 0.8387 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002056/0.7361, allocations: 1.724 MB / 0.8404 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.7361, allocations: 0 / 0.8404 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00775/0.7438, allocations: 3.461 MB / 0.8438 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/0.7452, allocations: 0.7358 MB / 0.8445 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003763/0.7455, allocations: 59.69 kB / 0.8446 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00229/0.7478, allocations: 277.2 kB / 0.8448 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/0.7481, allocations: 145.7 kB / 0.845 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/0.7484, allocations: 87.94 kB / 0.8451 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.002122/0.7505, allocations: 1.482 MB / 0.8465 GB, free: 15.02 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7505, allocations: 0 / 0.8465 GB, free: 15.02 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002137/0.7526, allocations: 0.8721 MB / 0.8474 GB, free: 14.14 MB / 0.67 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.002015/0.7547, allocations: 0.6871 MB / 0.848 GB, free: 13.65 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01448/0.7691, allocations: 5.928 MB / 0.8538 GB, free: 7.711 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.7692, allocations: 4 kB / 0.8538 GB, free: 7.707 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003703/0.7729, allocations: 1.79 MB / 0.8556 GB, free: 5.906 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002046/0.7749, allocations: 441.5 kB / 0.856 GB, free: 5.492 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2245/0.9994, allocations: 7.701 MB / 0.8635 GB, free: 214 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/1.001, allocations: 2.225 MB / 0.8657 GB, free: 213.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/1.002, allocations: 323.6 kB / 0.866 GB, free: 213.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.012e-06/1.002, allocations: 0 / 0.866 GB, free: 213.2 MB / 0.67 GB Notification: Performance of Templates: time 0.07008/1.072, allocations: 59.35 MB / 0.9239 GB, free: 194.6 MB / 0.67 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