Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") translateModel(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, 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.001238/0.001238, 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.329/1.329, 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-master/package.mo): time 0.8438/0.8438, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 62.89 kB / 0.5863 GB, free: 21.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1997, allocations: 80.93 MB / 0.6653 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6497/0.8495, allocations: 153.8 MB / 0.8155 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01426/0.8638, allocations: 10.4 MB / 0.8256 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.8654, allocations: 20.88 kB / 0.8256 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.8667, allocations: 260.1 kB / 0.8259 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.8701, allocations: 0.8946 MB / 0.8268 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.8734, allocations: 1.038 MB / 0.8278 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003325/0.8768, allocations: 1.511 MB / 0.8292 GB, free: 56 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002764/0.8796, allocations: 1.144 MB / 0.8304 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.8822, allocations: 0.6508 MB / 0.831 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.8833, allocations: 0.5583 MB / 0.8315 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003955/0.8837, allocations: 120.3 kB / 0.8317 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.8864, allocations: 1.024 MB / 0.8327 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000559/0.887, allocations: 354 kB / 0.833 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001055/0.888, allocations: 0.6032 MB / 0.8336 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004046/0.8921, allocations: 2.061 MB / 0.8356 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.8921, allocations: 0 / 0.8356 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8921, allocations: 0 / 0.8356 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.34e-05/0.8922, allocations: 0 / 0.8356 GB, free: 11.89 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.004315/0.8965, allocations: 1.597 MB / 0.8372 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.8966, allocations: 8.984 kB / 0.8372 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.8985, allocations: 260.3 kB / 0.8374 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.9003, allocations: 0.8698 MB / 0.8383 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/0.9003, allocations: 67.94 kB / 0.8383 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.9005, allocations: 96 kB / 0.8384 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.9023, allocations: 1.046 MB / 0.8394 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.9023, allocations: 3.938 kB / 0.8394 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.145e-05/0.9024, allocations: 42.44 kB / 0.8395 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.9024, allocations: 22.66 kB / 0.8395 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.9044, allocations: 1.264 MB / 0.8407 GB, free: 8.492 MB / 0.6075 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.004611/0.909, allocations: 3.05 MB / 0.8437 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001667/0.9107, allocations: 1.011 MB / 0.8447 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006691/0.9113, allocations: 388.5 kB / 0.8451 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000257/0.9116, allocations: 138.2 kB / 0.8452 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009634/0.9126, allocations: 0.55 MB / 0.8457 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=86): time 2.625e-06/0.9126, allocations: 0 / 0.8457 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=86): time 0.003846/0.9165, allocations: 1.503 MB / 0.8472 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.9166, allocations: 195.7 kB / 0.8474 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.9177, allocations: 0.7619 MB / 0.8481 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.431e-05/0.9178, allocations: 43.05 kB / 0.8482 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/0.9182, allocations: 435.2 kB / 0.8486 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.9184, allocations: 298 kB / 0.8489 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.9187, allocations: 168.8 kB / 0.849 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9189, allocations: 341.5 kB / 0.8494 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.9196, allocations: 322.5 kB / 0.8497 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.9204, allocations: 443.2 kB / 0.8501 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.9218, allocations: 0.7296 MB / 0.8508 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.9218, allocations: 4 kB / 0.8508 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002412/0.9242, allocations: 1.006 MB / 0.8518 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.9242, allocations: 7.938 kB / 0.8518 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.9243, allocations: 0 / 0.8518 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007699/0.925, allocations: 121.6 kB / 0.8519 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008509/0.9259, allocations: 187.8 kB / 0.8521 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.9293, allocations: 3.067 MB / 0.8551 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009354/0.9302, allocations: 99.34 kB / 0.8552 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.915e-05/0.9303, allocations: 35.97 kB / 0.8552 GB, free: 12.09 MB / 0.6231 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006232/0.931, allocations: 293.7 kB / 0.8555 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.9313, allocations: 102.7 kB / 0.8556 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002887/0.9342, allocations: 1.216 MB / 0.8568 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.9342, allocations: 8 kB / 0.8568 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.9342, allocations: 3.938 kB / 0.8568 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.9342, allocations: 11.92 kB / 0.8568 GB, free: 10.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004178/0.9384, allocations: 2.232 MB / 0.859 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.9384, allocations: 0 / 0.859 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007975/0.9393, allocations: 179.8 kB / 0.8592 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005735/0.9398, allocations: 105.6 kB / 0.8593 GB, free: 7.863 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.757e-05/0.9399, allocations: 31.97 kB / 0.8593 GB, free: 7.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00304/0.943, allocations: 3.1 MB / 0.8623 GB, free: 4.445 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.943, allocations: 3.938 kB / 0.8623 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.9455, allocations: 1.131 MB / 0.8634 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005547/0.9461, allocations: 295.6 kB / 0.8637 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.9464, allocations: 19.94 kB / 0.8637 GB, free: 2.961 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.9472, allocations: 71.92 kB / 0.8638 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/0.9474, allocations: 68.89 kB / 0.8639 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.873e-05/0.9475, allocations: 35.98 kB / 0.8639 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008702/0.9484, allocations: 0.542 MB / 0.8644 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9484, allocations: 4 kB / 0.8644 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001372/0.9498, allocations: 423.2 kB / 0.8648 GB, free: 1.832 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 (95): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001975/0.9518, allocations: 0.7009 MB / 0.8655 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.954, allocations: 1.069 MB / 0.8666 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.954, allocations: 0 / 0.8666 GB, free: 228 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.9552, allocations: 0.6943 MB / 0.8672 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/0.9568, allocations: 339.5 kB / 0.8676 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/0.9616, allocations: 2.057 MB / 0.8696 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007965/0.9624, allocations: 1.075 MB / 0.8706 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.9628, allocations: 119.4 kB / 0.8707 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of SimCode: time 6.52e-07/0.9629, allocations: 0 / 0.8707 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of Templates: time 0.03611/0.999, allocations: 25.86 MB / 0.896 GB, free: 2.055 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_Specification.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_SpecificationCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp In file included from OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationCalcHelperMain.cpp:28: In file included from ./OMCppIDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpData_SpecificationFunctions.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_SpecificationCalcHelperMain.o] Error 1