Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez") translateModel(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001148/0.001148, allocations: 103.5 kB / 16.41 MB, free: 6.512 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.001233/0.001233, allocations: 187 kB / 17.34 MB, free: 5.742 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8615/0.8615, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 66.7 kB / 0.582 GB, free: 23.89 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1687, allocations: 80.2 MB / 0.6603 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez): time 0.00981/0.1786, allocations: 6.956 MB / 0.6671 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5901/0.7688, allocations: 155.7 MB / 0.8192 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.7703, allocations: 30.44 kB / 0.8192 GB, free: 9.305 MB / 0.5919 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.0009454/0.7712, allocations: 284.2 kB / 0.8195 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.7737, allocations: 0.728 MB / 0.8202 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.7769, allocations: 1.291 MB / 0.8214 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004964/0.7819, allocations: 4.564 MB / 0.8259 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.7854, allocations: 2.69 MB / 0.8285 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/0.7889, allocations: 1.785 MB / 0.8303 GB, free: 2.289 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002056/0.791, allocations: 1.785 MB / 0.832 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006034/0.7916, allocations: 465.5 kB / 0.8325 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.7937, allocations: 1.071 MB / 0.8335 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008901/0.7946, allocations: 0.9904 MB / 0.8345 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.7968, allocations: 1.882 MB / 0.8363 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006421/0.8032, allocations: 5.564 MB / 0.8417 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.8033, allocations: 4 kB / 0.8417 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8033, allocations: 3.938 kB / 0.8417 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001127/0.8034, allocations: 0 / 0.8417 GB, free: 10.41 MB / 0.6075 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.007958/0.8114, allocations: 3.887 MB / 0.8455 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.8114, allocations: 10.41 kB / 0.8455 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009553/0.821, allocations: 1.291 MB / 0.8468 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.8253, allocations: 2.172 MB / 0.8489 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.8256, allocations: 230 kB / 0.8491 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006067/0.8262, allocations: 288 kB / 0.8494 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009468/0.8357, allocations: 4.46 MB / 0.8538 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.866e-05/0.8357, allocations: 4 kB / 0.8538 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003348/0.8361, allocations: 124 kB / 0.8539 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/0.8361, allocations: 79.94 kB / 0.854 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01122/0.8474, allocations: 4.905 MB / 0.8588 GB, free: 10.62 MB / 0.6231 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.02507/0.8725, allocations: 14.02 MB / 0.8725 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01136/0.8839, allocations: 4.041 MB / 0.8764 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004131/0.888, allocations: 1.67 MB / 0.878 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.8894, allocations: 1.073 MB / 0.8791 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005128/0.8945, allocations: 2.035 MB / 0.8811 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=214): time 5.811e-06/0.8945, allocations: 4 kB / 0.8811 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=214): time 0.0148/0.9093, allocations: 5.23 MB / 0.8862 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/0.9095, allocations: 201.9 kB / 0.8864 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.9134, allocations: 1.977 MB / 0.8883 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003641/0.9138, allocations: 61.7 kB / 0.8884 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/0.915, allocations: 1.184 MB / 0.8895 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008997/0.9159, allocations: 0.7085 MB / 0.8902 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001183/0.9171, allocations: 0.5267 MB / 0.8907 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.9172, allocations: 305.1 kB / 0.891 GB, free: 8.465 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003959/0.9212, allocations: 1.573 MB / 0.8926 GB, free: 6.887 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004244/0.9255, allocations: 1.879 MB / 0.8944 GB, free: 4.918 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008245/0.9337, allocations: 3.424 MB / 0.8977 GB, free: 1.422 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.9338, allocations: 3.938 kB / 0.8977 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of matching and sorting (n=275) (initialization): time 0.01048/0.9442, allocations: 3.957 MB / 0.9016 GB, free: 13.45 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.9443, allocations: 8 kB / 0.9016 GB, free: 13.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.9443, allocations: 4 kB / 0.9016 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006589/0.945, allocations: 97.23 kB / 0.9017 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/0.9488, allocations: 0.698 MB / 0.9024 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002521/0.9514, allocations: 1.698 MB / 0.904 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003811/0.9552, allocations: 433.5 kB / 0.9045 GB, free: 10.37 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006362/0.9558, allocations: 127.8 kB / 0.9046 GB, free: 10.24 MB / 0.67 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.002611/0.9585, allocations: 0.9367 MB / 0.9055 GB, free: 9.297 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00105/0.9595, allocations: 217.3 kB / 0.9057 GB, free: 9.082 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/0.9715, allocations: 4.206 MB / 0.9098 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/0.9715, allocations: 24 kB / 0.9098 GB, free: 4.832 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.9716, allocations: 0 / 0.9098 GB, free: 4.832 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.251e-05/0.9716, allocations: 11.95 kB / 0.9098 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.9882, allocations: 7.859 MB / 0.9175 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.9883, allocations: 0 / 0.9175 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003082/0.9913, allocations: 0.5772 MB / 0.9181 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004917/0.9919, allocations: 76.78 kB / 0.9182 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/0.9921, allocations: 63.95 kB / 0.9182 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.9943, allocations: 1.721 MB / 0.9199 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9943, allocations: 4 kB / 0.9199 GB, free: 10.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008919/1.003, allocations: 3.468 MB / 0.9233 GB, free: 6.707 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/1.005, allocations: 0.7435 MB / 0.924 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007103/1.006, allocations: 59.69 kB / 0.9241 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002796/1.009, allocations: 273.5 kB / 0.9243 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003463/1.009, allocations: 153.7 kB / 0.9245 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/1.009, allocations: 79.95 kB / 0.9246 GB, free: 5.391 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003124/1.012, allocations: 1.511 MB / 0.926 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/1.012, allocations: 0 / 0.926 GB, free: 3.859 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003167/1.015, allocations: 0.8722 MB / 0.9269 GB, free: 2.984 MB / 0.6856 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.0019/1.017, allocations: 0.6902 MB / 0.9276 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009148/1.027, allocations: 3.589 MB / 0.9311 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/1.027, allocations: 0 / 0.9311 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.004432/1.031, allocations: 1.794 MB / 0.9328 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.034, allocations: 452.4 kB / 0.9332 GB, free: 12.68 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/1.049, allocations: 6.319 MB / 0.9394 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/1.051, allocations: 2.239 MB / 0.9416 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/1.054, allocations: 323.2 kB / 0.9419 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of SimCode: time 8.11e-07/1.054, allocations: 0 / 0.9419 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of Templates: time 0.09011/1.144, allocations: 60.22 MB / 1.001 GB, free: 7.504 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile make -j1 -f IDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerez.makefile clang++ -std=c++17 -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/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.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.o OMCppIDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezFunctions.cpp:7: /home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.Examples.SimInfoManagerPerezCalcHelperMain.o] Error 1