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.00117/0.00117, allocations: 105.6 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.001237/0.001237, allocations: 189.6 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.387/1.387, 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.8145/0.8145, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 73.19 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1456, allocations: 80.21 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.5162/0.6619, allocations: 167 MB / 0.8234 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02135/0.6833, allocations: 17.11 MB / 0.8401 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.6849, allocations: 32.25 kB / 0.8401 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.6865, allocations: 0.523 MB / 0.8406 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004854/0.6914, allocations: 1.644 MB / 0.8422 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.695, allocations: 1.399 MB / 0.8436 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.6985, allocations: 2.55 MB / 0.8461 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.701, allocations: 1.958 MB / 0.848 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.7046, allocations: 1.34 MB / 0.8493 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001514/0.7062, allocations: 1.038 MB / 0.8503 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003263/0.7065, allocations: 208.8 kB / 0.8505 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.7097, allocations: 1.546 MB / 0.852 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006864/0.7104, allocations: 0.7669 MB / 0.8528 GB, free: 0 / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.7116, allocations: 1.141 MB / 0.8539 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004738/0.7163, allocations: 3.414 MB / 0.8572 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7164, allocations: 4 kB / 0.8573 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7164, allocations: 0 / 0.8573 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.344e-05/0.7164, allocations: 0 / 0.8573 GB, free: 12.33 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.004518/0.7209, allocations: 2.66 MB / 0.8598 GB, free: 9.609 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.721, allocations: 12.03 kB / 0.8599 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.7246, allocations: 0.5512 MB / 0.8604 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0025/0.7271, allocations: 1.607 MB / 0.862 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.993e-05/0.7272, allocations: 123.3 kB / 0.8621 GB, free: 7.262 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002174/0.7274, allocations: 167.9 kB / 0.8622 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/0.7307, allocations: 1.896 MB / 0.8641 GB, free: 5.148 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/0.7308, allocations: 4 kB / 0.8641 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000152/0.7309, allocations: 79.92 kB / 0.8642 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.731, allocations: 40 kB / 0.8642 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003446/0.7344, allocations: 2.061 MB / 0.8662 GB, free: 2.961 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.008842/0.7433, allocations: 5.656 MB / 0.8718 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.7464, allocations: 2.033 MB / 0.8737 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.7477, allocations: 0.7491 MB / 0.8745 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/0.7483, allocations: 417.7 kB / 0.8749 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001635/0.75, allocations: 0.9528 MB / 0.8758 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.906e-06/0.75, allocations: 0 / 0.8758 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006554/0.7566, allocations: 2.86 MB / 0.8786 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.7567, allocations: 197.2 kB / 0.8788 GB, free: 5.516 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002275/0.759, allocations: 1.78 MB / 0.8805 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/0.7592, allocations: 57.7 kB / 0.8806 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006663/0.7598, allocations: 0.8231 MB / 0.8814 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004138/0.7603, allocations: 461.3 kB / 0.8818 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003908/0.7606, allocations: 242.7 kB / 0.882 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7608, allocations: 357.9 kB / 0.8824 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.7619, allocations: 0.5764 MB / 0.883 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.7632, allocations: 0.7732 MB / 0.8837 GB, free: 376 kB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002331/0.7655, allocations: 1.306 MB / 0.885 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7656, allocations: 0 / 0.885 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00379/0.7694, allocations: 1.756 MB / 0.8867 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.7694, allocations: 11.94 kB / 0.8867 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7694, allocations: 0 / 0.8867 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.7704, allocations: 208.1 kB / 0.8869 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/0.772, allocations: 327.5 kB / 0.8872 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006111/0.7781, allocations: 7.325 MB / 0.8944 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.7797, allocations: 154.8 kB / 0.8945 GB, free: 4.539 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.7799, allocations: 51.91 kB / 0.8946 GB, free: 4.488 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.00102/0.781, allocations: 485.4 kB / 0.895 GB, free: 4.004 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005109/0.7815, allocations: 173.8 kB / 0.8952 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.7861, allocations: 2.038 MB / 0.8972 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.7862, allocations: 16 kB / 0.8972 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.7862, allocations: 3.984 kB / 0.8972 GB, free: 1.742 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.7862, allocations: 7.984 kB / 0.8972 GB, free: 1.734 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007199/0.7934, allocations: 3.838 MB / 0.901 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.7935, allocations: 0 / 0.901 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001479/0.7949, allocations: 315.5 kB / 0.9013 GB, free: 13.51 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009552/0.7959, allocations: 204.1 kB / 0.9015 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/0.7961, allocations: 35.97 kB / 0.9015 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00645/0.8025, allocations: 7.363 MB / 0.9087 GB, free: 5.188 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8026, allocations: 12 kB / 0.9087 GB, free: 5.176 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004674/0.8073, allocations: 1.914 MB / 0.9106 GB, free: 3.227 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.8083, allocations: 450.5 kB / 0.911 GB, free: 2.766 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/0.8087, allocations: 24 kB / 0.911 GB, free: 2.742 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/0.8101, allocations: 98.72 kB / 0.9111 GB, free: 2.648 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002501/0.8104, allocations: 109.1 kB / 0.9112 GB, free: 2.543 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/0.8106, allocations: 63.95 kB / 0.9113 GB, free: 2.48 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002014/0.8126, allocations: 1.281 MB / 0.9125 GB, free: 1.203 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8126, allocations: 0 / 0.9125 GB, free: 1.203 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00193/0.8146, allocations: 0.6391 MB / 0.9131 GB, free: 0.5625 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,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.001924/0.8165, allocations: 0.7322 MB / 0.9139 GB, free: 44 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003895/0.8204, allocations: 2.031 MB / 0.9158 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.8205, allocations: 0.7969 kB / 0.9158 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002394/0.8229, allocations: 1.383 MB / 0.9172 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.8256, allocations: 0.5241 MB / 0.9177 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008149/0.8338, allocations: 3.804 MB / 0.9214 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001564/0.8354, allocations: 1.47 MB / 0.9229 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007853/0.8362, allocations: 187.3 kB / 0.923 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of SimCode: time 7.82e-07/0.8362, allocations: 0 / 0.923 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of Templates: time 0.07456/0.9107, allocations: 64.73 MB / 0.9862 GB, free: 5.836 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