Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001319/0.001319, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001316/0.001316, allocations: 183 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8052/0.8052, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.56 kB / 0.5863 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1488, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5033/0.6521, allocations: 167 MB / 0.8284 GB, free: 268 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.6719, allocations: 17.11 MB / 0.8451 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.674, allocations: 31.5 kB / 0.8451 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.6762, allocations: 0.5358 MB / 0.8456 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004685/0.6809, allocations: 1.668 MB / 0.8473 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00314/0.6841, allocations: 1.407 MB / 0.8486 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002684/0.6868, allocations: 2.554 MB / 0.8511 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.689, allocations: 1.948 MB / 0.853 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003497/0.6925, allocations: 1.406 MB / 0.8544 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.6937, allocations: 1.034 MB / 0.8554 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.694, allocations: 209 kB / 0.8556 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.6969, allocations: 1.546 MB / 0.8571 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006512/0.6975, allocations: 0.7756 MB / 0.8579 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001145/0.6987, allocations: 1.135 MB / 0.859 GB, free: 8.82 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004383/0.7031, allocations: 3.423 MB / 0.8623 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7031, allocations: 0 / 0.8623 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7031, allocations: 0 / 0.8623 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.254e-05/0.7032, allocations: 0 / 0.8623 GB, free: 5.387 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.004079/0.7073, allocations: 2.66 MB / 0.8649 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.7073, allocations: 13.11 kB / 0.8649 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003577/0.7109, allocations: 0.5473 MB / 0.8655 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002221/0.7131, allocations: 1.599 MB / 0.867 GB, free: 460 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.359e-05/0.7132, allocations: 127.3 kB / 0.8672 GB, free: 332 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.7134, allocations: 167.9 kB / 0.8673 GB, free: 164 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/0.7166, allocations: 1.888 MB / 0.8692 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.7166, allocations: 0 / 0.8692 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.7168, allocations: 75.98 kB / 0.8692 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.7168, allocations: 40 kB / 0.8693 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.7202, allocations: 2.061 MB / 0.8713 GB, free: 12.04 MB / 0.6387 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.008433/0.7286, allocations: 5.668 MB / 0.8768 GB, free: 6.105 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003044/0.7317, allocations: 2.035 MB / 0.8788 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001219/0.7329, allocations: 0.7374 MB / 0.8795 GB, free: 3.258 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/0.7335, allocations: 433.7 kB / 0.8799 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001633/0.7351, allocations: 0.9466 MB / 0.8809 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.936e-06/0.7351, allocations: 0 / 0.8809 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006591/0.7417, allocations: 2.864 MB / 0.8837 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.7419, allocations: 197.2 kB / 0.8839 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002548/0.7444, allocations: 1.776 MB / 0.8856 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.7446, allocations: 57.7 kB / 0.8856 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007266/0.7453, allocations: 0.8231 MB / 0.8865 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004147/0.7458, allocations: 461.3 kB / 0.8869 GB, free: 11.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/0.7461, allocations: 238.8 kB / 0.8871 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.7463, allocations: 357.9 kB / 0.8875 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.7474, allocations: 0.5804 MB / 0.888 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.7487, allocations: 0.7779 MB / 0.8888 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002316/0.7511, allocations: 1.298 MB / 0.8901 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.7511, allocations: 3.938 kB / 0.8901 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.004118/0.7552, allocations: 1.756 MB / 0.8918 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.7552, allocations: 14.59 kB / 0.8918 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.7553, allocations: 0 / 0.8918 GB, free: 6.324 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.7564, allocations: 216 kB / 0.892 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.7579, allocations: 323.6 kB / 0.8923 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006158/0.7641, allocations: 7.319 MB / 0.8995 GB, free: 13.77 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.7655, allocations: 157.5 kB / 0.8996 GB, free: 13.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001597/0.7657, allocations: 51.95 kB / 0.8996 GB, free: 13.56 MB / 0.67 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.001027/0.7667, allocations: 473.5 kB / 0.9001 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000513/0.7673, allocations: 177.8 kB / 0.9003 GB, free: 12.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/0.7718, allocations: 2.042 MB / 0.9023 GB, free: 10.84 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.7718, allocations: 16 kB / 0.9023 GB, free: 10.83 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.7719, allocations: 4 kB / 0.9023 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/0.7719, allocations: 11.97 kB / 0.9023 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006973/0.7789, allocations: 3.829 MB / 0.906 GB, free: 6.902 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.7789, allocations: 3.984 kB / 0.906 GB, free: 6.898 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.7803, allocations: 315.5 kB / 0.9063 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/0.7812, allocations: 200.1 kB / 0.9065 GB, free: 6.379 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.7814, allocations: 39.91 kB / 0.9066 GB, free: 6.34 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005809/0.7872, allocations: 7.363 MB / 0.9138 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7872, allocations: 3.938 kB / 0.9138 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004276/0.7915, allocations: 1.906 MB / 0.9156 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009943/0.7925, allocations: 458.4 kB / 0.9161 GB, free: 11.85 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000413/0.7929, allocations: 28 kB / 0.9161 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.7944, allocations: 87.91 kB / 0.9162 GB, free: 11.73 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.7947, allocations: 105.2 kB / 0.9163 GB, free: 11.63 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.7949, allocations: 75.94 kB / 0.9163 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002108/0.797, allocations: 1.273 MB / 0.9176 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.797, allocations: 0 / 0.9176 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001959/0.799, allocations: 0.643 MB / 0.9182 GB, free: 9.645 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,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.00192/0.8009, allocations: 0.7467 MB / 0.9189 GB, free: 9.074 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003504/0.8044, allocations: 2.02 MB / 0.9209 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.8044, allocations: 4.734 kB / 0.9209 GB, free: 6.984 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002028/0.8065, allocations: 1.387 MB / 0.9223 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.8091, allocations: 0.5145 MB / 0.9228 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008122/0.8172, allocations: 3.802 MB / 0.9265 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.8187, allocations: 1.474 MB / 0.9279 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007438/0.8195, allocations: 191.3 kB / 0.9281 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of SimCode: time 7.01e-07/0.8195, allocations: 0 / 0.9281 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of Templates: time 0.07537/0.8949, allocations: 64.93 MB / 0.9915 GB, free: 14.66 MB / 0.7637 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles.makefile make -j1 -f IDEAS_dev_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-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.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_AnglesFunctions.cpp:8: /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.Fluid.Sources.Examples.Outside_CpData_AnglesCalcHelperMain.o] Error 1