Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 108.8 kB / 16.41 MB, free: 6.496 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.001339/0.001339, allocations: 187 kB / 17.34 MB, free: 5.766 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.436/1.436, 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.8198/0.8198, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 59.16 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1612, allocations: 80.2 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5671/0.7283, allocations: 167 MB / 0.8234 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02323/0.7516, allocations: 17.1 MB / 0.8401 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001984/0.7537, allocations: 32.59 kB / 0.8401 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.7557, allocations: 0.5392 MB / 0.8407 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005833/0.7616, allocations: 1.681 MB / 0.8423 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.7655, allocations: 1.404 MB / 0.8437 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003593/0.7691, allocations: 2.557 MB / 0.8462 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002581/0.7717, allocations: 1.948 MB / 0.8481 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/0.776, allocations: 1.406 MB / 0.8494 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.7776, allocations: 1.036 MB / 0.8504 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003732/0.778, allocations: 208.8 kB / 0.8506 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.7816, allocations: 1.547 MB / 0.8522 GB, free: 444 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007814/0.7824, allocations: 0.7734 MB / 0.8529 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.7837, allocations: 1.138 MB / 0.854 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.005605/0.7893, allocations: 3.419 MB / 0.8574 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.7894, allocations: 0 / 0.8574 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.665e-06/0.7894, allocations: 0 / 0.8574 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.701e-05/0.7895, allocations: 3.938 kB / 0.8574 GB, free: 12.21 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.005152/0.7946, allocations: 2.652 MB / 0.86 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7947, allocations: 12.03 kB / 0.86 GB, free: 9.48 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003741/0.7984, allocations: 0.5551 MB / 0.8605 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/0.8011, allocations: 1.607 MB / 0.8621 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.8012, allocations: 123.3 kB / 0.8622 GB, free: 7.141 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002195/0.8015, allocations: 167.9 kB / 0.8624 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003371/0.8048, allocations: 1.885 MB / 0.8642 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.8049, allocations: 4 kB / 0.8642 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.8051, allocations: 68 kB / 0.8643 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.8051, allocations: 40 kB / 0.8643 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003387/0.8085, allocations: 2.073 MB / 0.8663 GB, free: 2.852 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.008616/0.8171, allocations: 5.66 MB / 0.8719 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00314/0.8203, allocations: 2.038 MB / 0.8738 GB, free: 10.81 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.8216, allocations: 0.7491 MB / 0.8746 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006222/0.8222, allocations: 425.7 kB / 0.875 GB, free: 9.57 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/0.8239, allocations: 0.9466 MB / 0.8759 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.856e-06/0.8239, allocations: 0 / 0.8759 GB, free: 8.605 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006771/0.8307, allocations: 2.86 MB / 0.8787 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/0.8308, allocations: 197.2 kB / 0.8789 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.8337, allocations: 1.784 MB / 0.8806 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.8339, allocations: 53.7 kB / 0.8807 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000837/0.8348, allocations: 0.8192 MB / 0.8815 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004812/0.8353, allocations: 461.3 kB / 0.8819 GB, free: 2.25 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000459/0.8357, allocations: 242.7 kB / 0.8822 GB, free: 2.008 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.8359, allocations: 357.9 kB / 0.8825 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.8371, allocations: 0.5726 MB / 0.8831 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.8385, allocations: 0.774 MB / 0.8838 GB, free: 256 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002585/0.8411, allocations: 1.302 MB / 0.8851 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.8411, allocations: 0 / 0.8851 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004283/0.8454, allocations: 1.756 MB / 0.8868 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.8455, allocations: 11.94 kB / 0.8868 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.8455, allocations: 0 / 0.8868 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/0.8467, allocations: 216.1 kB / 0.887 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/0.8483, allocations: 315.6 kB / 0.8873 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006326/0.8546, allocations: 7.333 MB / 0.8945 GB, free: 4.574 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.8564, allocations: 150.8 kB / 0.8946 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002581/0.8566, allocations: 55.89 kB / 0.8947 GB, free: 4.371 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (141): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00124/0.8579, allocations: 477.6 kB / 0.8951 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006171/0.8585, allocations: 181.8 kB / 0.8953 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004809/0.8633, allocations: 2.042 MB / 0.8973 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.8634, allocations: 16 kB / 0.8973 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.8634, allocations: 0 / 0.8973 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.591e-05/0.8634, allocations: 15.97 kB / 0.8973 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007639/0.8711, allocations: 3.822 MB / 0.9011 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.8711, allocations: 0 / 0.9011 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.8726, allocations: 319.5 kB / 0.9014 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009062/0.8736, allocations: 204.1 kB / 0.9016 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001369/0.8737, allocations: 35.97 kB / 0.9016 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00642/0.8801, allocations: 7.363 MB / 0.9088 GB, free: 5.07 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.8802, allocations: 3.938 kB / 0.9088 GB, free: 5.066 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/0.885, allocations: 1.914 MB / 0.9107 GB, free: 3.117 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.8862, allocations: 458.4 kB / 0.9111 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/0.8866, allocations: 27.98 kB / 0.9111 GB, free: 2.621 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.8881, allocations: 94.72 kB / 0.9112 GB, free: 2.531 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002689/0.8884, allocations: 105.2 kB / 0.9113 GB, free: 2.43 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001855/0.8886, allocations: 63.95 kB / 0.9114 GB, free: 2.367 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002029/0.8906, allocations: 1.277 MB / 0.9126 GB, free: 1.094 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.8906, allocations: 0 / 0.9126 GB, free: 1.094 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002125/0.8928, allocations: 0.6391 MB / 0.9132 GB, free: 464 kB / 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,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 (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002137/0.8949, allocations: 0.7473 MB / 0.914 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003869/0.8988, allocations: 2.031 MB / 0.916 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.8988, allocations: 0.7969 kB / 0.916 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002236/0.9011, allocations: 1.379 MB / 0.9173 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002902/0.904, allocations: 0.5214 MB / 0.9178 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008759/0.9128, allocations: 3.808 MB / 0.9215 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001696/0.9145, allocations: 1.471 MB / 0.923 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009146/0.9154, allocations: 187.3 kB / 0.9231 GB, free: 6.367 MB / 0.6856 GB Notification: Performance of SimCode: time 1.673e-06/0.9155, allocations: 4 kB / 0.9232 GB, free: 6.363 MB / 0.6856 GB Notification: Performance of Templates: time 0.0783/0.9938, allocations: 64.92 MB / 0.9866 GB, free: 5.512 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.makefile make -j1 -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.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.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.cpp In file included from OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesFunctions.cpp:8: /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.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.o] Error 1