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.00117/0.00117, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001162/0.001162, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.21/1.21, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7419/0.7419, allocations: 135.1 MB / 426.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 68.95 kB / 0.5863 GB, free: 21.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1341, allocations: 80.92 MB / 0.6653 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.4863/0.6205, allocations: 167 MB / 0.8284 GB, free: 340 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01906/0.6395, allocations: 17.11 MB / 0.8451 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.6407, allocations: 32.25 kB / 0.8451 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.6421, allocations: 0.5229 MB / 0.8456 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.6459, allocations: 1.643 MB / 0.8472 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.6486, allocations: 1.391 MB / 0.8486 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.6507, allocations: 2.555 MB / 0.8511 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.6527, allocations: 1.957 MB / 0.853 GB, free: 13 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.6555, allocations: 1.361 MB / 0.8543 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.6567, allocations: 1.041 MB / 0.8553 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003824/0.6571, allocations: 209.3 kB / 0.8555 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.6595, allocations: 1.54 MB / 0.857 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006459/0.6601, allocations: 0.7778 MB / 0.8578 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.6611, allocations: 1.135 MB / 0.8589 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003169/0.6643, allocations: 3.415 MB / 0.8622 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6643, allocations: 7.938 kB / 0.8623 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6643, allocations: 0 / 0.8623 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.395e-05/0.6644, allocations: 0 / 0.8623 GB, free: 5.574 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.003451/0.6678, allocations: 2.66 MB / 0.8649 GB, free: 2.852 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.6679, allocations: 9.109 kB / 0.8649 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003335/0.6712, allocations: 0.5473 MB / 0.8654 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.6731, allocations: 1.611 MB / 0.867 GB, free: 0.6289 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.986e-05/0.6732, allocations: 123.3 kB / 0.8671 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.6734, allocations: 163.9 kB / 0.8672 GB, free: 356 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/0.6761, allocations: 1.892 MB / 0.8691 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.6762, allocations: 0 / 0.8691 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001473/0.6763, allocations: 72 kB / 0.8692 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.6764, allocations: 40 kB / 0.8692 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003044/0.6794, allocations: 2.069 MB / 0.8712 GB, free: 12.21 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.007102/0.6865, allocations: 5.665 MB / 0.8767 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002716/0.6893, allocations: 2.033 MB / 0.8787 GB, free: 4.18 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.6904, allocations: 0.7413 MB / 0.8795 GB, free: 3.438 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005094/0.6909, allocations: 425.7 kB / 0.8799 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/0.6924, allocations: 0.9466 MB / 0.8808 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=137): time 2.946e-06/0.6924, allocations: 3.938 kB / 0.8808 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=137): time 0.006086/0.6985, allocations: 2.864 MB / 0.8836 GB, free: 15 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.559e-05/0.6986, allocations: 193.2 kB / 0.8838 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.7006, allocations: 1.78 MB / 0.8855 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.7007, allocations: 53.7 kB / 0.8856 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006385/0.7013, allocations: 0.827 MB / 0.8864 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.7017, allocations: 461.3 kB / 0.8868 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/0.7021, allocations: 242.8 kB / 0.887 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7022, allocations: 357.9 kB / 0.8874 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009842/0.7032, allocations: 0.5686 MB / 0.8879 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.7043, allocations: 0.7818 MB / 0.8887 GB, free: 9.617 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.7064, allocations: 1.298 MB / 0.89 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.7064, allocations: 4 kB / 0.89 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003441/0.7099, allocations: 1.756 MB / 0.8917 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.7099, allocations: 7.938 kB / 0.8917 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.7099, allocations: 0 / 0.8917 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009975/0.7109, allocations: 216.1 kB / 0.8919 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.7124, allocations: 319.6 kB / 0.8922 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/0.7177, allocations: 7.327 MB / 0.8994 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.7191, allocations: 160.3 kB / 0.8995 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/0.7192, allocations: 59.89 kB / 0.8996 GB, free: 13.74 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.0007971/0.72, allocations: 469.5 kB / 0.9 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.7203, allocations: 173.8 kB / 0.9002 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.7242, allocations: 2.046 MB / 0.9022 GB, free: 11.03 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.7242, allocations: 12 kB / 0.9022 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.7242, allocations: 4 kB / 0.9022 GB, free: 11.01 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.7242, allocations: 11.95 kB / 0.9022 GB, free: 11 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00571/0.7299, allocations: 3.829 MB / 0.9059 GB, free: 7.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.73, allocations: 4 kB / 0.906 GB, free: 7.086 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.7313, allocations: 319.5 kB / 0.9063 GB, free: 6.773 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007821/0.7321, allocations: 208 kB / 0.9065 GB, free: 6.555 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.508e-05/0.7322, allocations: 39.97 kB / 0.9065 GB, free: 6.516 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005199/0.7374, allocations: 7.347 MB / 0.9137 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.7374, allocations: 11.91 kB / 0.9137 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.7411, allocations: 1.914 MB / 0.9156 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006706/0.7418, allocations: 454.3 kB / 0.916 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.742, allocations: 28 kB / 0.916 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.7431, allocations: 97.77 kB / 0.9161 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.7433, allocations: 101.2 kB / 0.9162 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.7434, allocations: 63.95 kB / 0.9163 GB, free: 11.75 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001423/0.7448, allocations: 1.277 MB / 0.9175 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7448, allocations: 0 / 0.9175 GB, free: 10.47 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001375/0.7462, allocations: 0.6391 MB / 0.9181 GB, free: 9.832 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.001483/0.7477, allocations: 0.7354 MB / 0.9189 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003066/0.7508, allocations: 2.024 MB / 0.9208 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.7508, allocations: 8.797 kB / 0.9208 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0019/0.7527, allocations: 1.387 MB / 0.9222 GB, free: 5.723 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/0.7546, allocations: 0.5286 MB / 0.9227 GB, free: 5.215 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.7611, allocations: 3.805 MB / 0.9264 GB, free: 1.379 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009653/0.7621, allocations: 1.466 MB / 0.9279 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/0.7626, allocations: 191.3 kB / 0.928 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of SimCode: time 6.51e-07/0.7626, allocations: 0 / 0.928 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of Templates: time 0.06143/0.8241, allocations: 65.21 MB / 0.9917 GB, free: 14.55 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