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.001448/0.001448, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001429/0.001429, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8002/0.8002, allocations: 135.2 MB / 426.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 71.86 kB / 0.506 GB, free: 8.383 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3448, allocations: 80.91 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1858/0.5306, allocations: 167 MB / 0.7481 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.33/0.8606, allocations: 17.12 MB / 0.7648 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.8618, allocations: 33.22 kB / 0.7649 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001344/0.8632, allocations: 0.5213 MB / 0.7654 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004095/0.8673, allocations: 1.643 MB / 0.767 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003187/0.8705, allocations: 1.377 MB / 0.7683 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002982/0.8735, allocations: 2.543 MB / 0.7708 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002277/0.8758, allocations: 1.954 MB / 0.7727 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.8793, allocations: 1.352 MB / 0.774 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.8807, allocations: 1.034 MB / 0.775 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003438/0.881, allocations: 210 kB / 0.7752 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002805/0.8838, allocations: 1.513 MB / 0.7767 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005578/0.8844, allocations: 0.7681 MB / 0.7775 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001024/0.8854, allocations: 1.135 MB / 0.7786 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003574/0.889, allocations: 3.354 MB / 0.7819 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.889, allocations: 0 / 0.7819 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8891, allocations: 0.9062 kB / 0.7819 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.375e-05/0.8891, allocations: 0 / 0.7819 GB, free: 0.5508 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: 418 * Number of variables: 418 Notification: Performance of Generate backend data structure: time 0.003893/0.893, allocations: 2.655 MB / 0.7844 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.893, allocations: 11.83 kB / 0.7845 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.8964, allocations: 0.5469 MB / 0.785 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.8984, allocations: 1.568 MB / 0.7865 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/0.8985, allocations: 127 kB / 0.7866 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.8987, allocations: 165.4 kB / 0.7868 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.9015, allocations: 1.889 MB / 0.7886 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.9016, allocations: 6.594 kB / 0.7887 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.9017, allocations: 72.09 kB / 0.7887 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.9017, allocations: 47.31 kB / 0.7888 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00291/0.9047, allocations: 2.062 MB / 0.7908 GB, free: 14.46 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.008079/0.9127, allocations: 5.716 MB / 0.7964 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/0.9157, allocations: 2.042 MB / 0.7984 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.9168, allocations: 0.7452 MB / 0.7991 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006095/0.9174, allocations: 430.5 kB / 0.7995 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.9189, allocations: 0.9445 MB / 0.8004 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=137): time 2.825e-06/0.9189, allocations: 1.031 kB / 0.8004 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=137): time 0.006243/0.9251, allocations: 2.856 MB / 0.8032 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.9253, allocations: 199.4 kB / 0.8034 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.9275, allocations: 1.793 MB / 0.8051 GB, free: 10.63 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.9276, allocations: 55.11 kB / 0.8052 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006791/0.9283, allocations: 0.8197 MB / 0.806 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004159/0.9287, allocations: 459.7 kB / 0.8064 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.9291, allocations: 241.7 kB / 0.8067 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.9293, allocations: 353.2 kB / 0.807 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009635/0.9302, allocations: 0.5728 MB / 0.8076 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001237/0.9315, allocations: 0.7793 MB / 0.8083 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.9337, allocations: 1.299 MB / 0.8096 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.9337, allocations: 1.031 kB / 0.8096 GB, free: 9.352 MB / 0.5919 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00372/0.9375, allocations: 1.762 MB / 0.8113 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9375, allocations: 4.688 kB / 0.8113 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.9375, allocations: 2.938 kB / 0.8113 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.9385, allocations: 211.1 kB / 0.8115 GB, free: 8.652 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.9399, allocations: 327.9 kB / 0.8118 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006451/0.9464, allocations: 7.332 MB / 0.819 GB, free: 1.301 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.948, allocations: 165.1 kB / 0.8192 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.9481, allocations: 55 kB / 0.8192 GB, free: 1.176 MB / 0.5919 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.0009663/0.9491, allocations: 474.9 kB / 0.8197 GB, free: 0.875 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/0.9494, allocations: 176.3 kB / 0.8198 GB, free: 0.7852 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.9536, allocations: 2.043 MB / 0.8218 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.9536, allocations: 16.22 kB / 0.8218 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.9537, allocations: 2.688 kB / 0.8218 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.9537, allocations: 9 kB / 0.8219 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006578/0.9603, allocations: 3.848 MB / 0.8256 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.9603, allocations: 3.938 kB / 0.8256 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.9617, allocations: 312.2 kB / 0.8259 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008834/0.9626, allocations: 203.3 kB / 0.8261 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/0.9627, allocations: 39.97 kB / 0.8261 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006296/0.969, allocations: 7.358 MB / 0.8333 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.9691, allocations: 0 / 0.8333 GB, free: 4.082 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/0.9732, allocations: 1.914 MB / 0.8352 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008462/0.9741, allocations: 458.3 kB / 0.8356 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002245/0.9743, allocations: 31.98 kB / 0.8357 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.9755, allocations: 91.91 kB / 0.8358 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.9757, allocations: 109.2 kB / 0.8359 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.9758, allocations: 63.95 kB / 0.8359 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0017/0.9775, allocations: 1.273 MB / 0.8372 GB, free: 116 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9776, allocations: 0 / 0.8372 GB, free: 116 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001782/0.9793, allocations: 0.6391 MB / 0.8378 GB, free: 15.47 MB / 0.6231 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.002205/0.9816, allocations: 0.7402 MB / 0.8385 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005253/0.9868, allocations: 2.429 MB / 0.8409 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/0.9869, allocations: 8.859 kB / 0.8409 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.989, allocations: 1.377 MB / 0.8422 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.9915, allocations: 0.5228 MB / 0.8427 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007685/0.9992, allocations: 3.871 MB / 0.8465 GB, free: 6.711 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/1, allocations: 1.466 MB / 0.848 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000686/1.001, allocations: 187.3 kB / 0.8481 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of SimCode: time 7.21e-07/1.001, allocations: 0 / 0.8481 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of Templates: time 0.07702/1.078, allocations: 64.73 MB / 0.9113 GB, free: 4.418 MB / 0.6856 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